You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/07/01 05:02:12 UTC
[GitHub] [pulsar] lhotari commented on a change in pull request #11164: [ Tests ] Use Awaitility to instead of Thread sleep
lhotari commented on a change in pull request #11164:
URL: https://github.com/apache/pulsar/pull/11164#discussion_r661976622
##########
File path: pulsar-client-tools-test/src/test/java/org/apache/pulsar/client/cli/PulsarClientToolTest.java
##########
@@ -207,7 +186,7 @@ public void testDurableSubscribe() throws Exception {
Assert.assertFalse(future.isCompletedExceptionally());
future.get();
//wait for close
- Thread.sleep(2000);
+ Awaitility.waitAtMost(Duration.ofDays(2000));
Review comment:
Was this change intentional?
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org