Skip to content

Commit

Permalink
Update mp-1 test to expect 1 timer (instead of 0) in the base scope b…
Browse files Browse the repository at this point in the history
…ecause the virtual threads recentPinned meter is now a timer
  • Loading branch information
tjquinno committed Jan 2, 2025
1 parent 8040b24 commit e29ffd5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit e29ffd5

Please sign in to comment.