We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3f6788 commit 06537ceCopy full SHA for 06537ce
micrometer-core/src/test/java/io/micrometer/core/instrument/push/PushMeterRegistryTest.java
@@ -243,7 +243,7 @@ void closeRespectsInterrupt() throws InterruptedException {
243
Thread closeThread = new Thread(registry::close, "simulatedShutdownHookThread");
244
closeThread.start();
245
// close is blocked (waiting for publish to finish)
246
- await().atMost(config.step())
+ await().atMost(Duration.ofMillis(100))
247
.pollInterval(1, MILLISECONDS)
248
.untilAsserted(() -> assertThat(closeThread.getState()).isEqualTo(Thread.State.WAITING));
249
0 commit comments