From e29ffd5cde6a7bd53c31ad86eb747e30fd0ef352 Mon Sep 17 00:00:00 2001 From: Tim Quinn Date: Thu, 2 Jan 2025 16:31:42 -0600 Subject: [PATCH] Update mp-1 test to expect 1 timer (instead of 0) in the base scope because the virtual threads recentPinned meter is now a timer --- .../io/helidon/tests/integration/packaging/mp1/Mp1Main.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/packaging/mp-1/src/main/java/io/helidon/tests/integration/packaging/mp1/Mp1Main.java b/tests/integration/packaging/mp-1/src/main/java/io/helidon/tests/integration/packaging/mp1/Mp1Main.java index 2df25015bed..bd75a8a6cb8 100644 --- a/tests/integration/packaging/mp-1/src/main/java/io/helidon/tests/integration/packaging/mp1/Mp1Main.java +++ b/tests/integration/packaging/mp-1/src/main/java/io/helidon/tests/integration/packaging/mp1/Mp1Main.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019, 2024 Oracle and/or its affiliates. + * Copyright (c) 2019, 2025 Oracle and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -218,7 +218,7 @@ private static void testBean(int port, String jwtToken) { }); invoke(collector, "Application metric registry", "Timers.size(): 1", aBean::appRegistry); - invoke(collector, "Base metric registry", "Timers.size(): 0", aBean::baseRegistry); + invoke(collector, "Base metric registry", "Timers.size(): 1", aBean::baseRegistry); // JWT-Auth validateJwtProtectedResource(collector, target, jwtToken);