equanz commented on a change in pull request #12401:
URL: https://github.com/apache/pulsar/pull/12401#discussion_r747197598
##########
File path:
pulsar-broker/src/test/java/org/apache/pulsar/broker/service/GracefulExecutorServicesShutdownTest.java
##########
@@ -152,7 +153,8 @@ public void shouldTerminateWhenFutureIsCancelled() throws
InterruptedException,
// when
shutdown.shutdown(executorService);
CompletableFuture<Void> future = shutdown.handle();
- awaitingTerminationEntered.await();
+ // waiting to start awaitTermination
+ verify(executorService,
timeout(100).atLeastOnce()).awaitTermination(anyLong(), any());
Review comment:
I didn't notice that the problem was already fixed by
`awaitingTerminationEntered`. I'll remove this changes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]