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/06/09 11:44:52 UTC

[GitHub] [pulsar] lhotari commented on issue #10872: Flaky-test: MetadataCacheTest.crossStoreUpdates

lhotari commented on issue #10872:
URL: https://github.com/apache/pulsar/issues/10872#issuecomment-857625275


   It looks like this flaky test was introduced by #10862 . @sursingh Would you mind taking a look ?
   It might help to use Awaitility instead of Thread.sleep in this test. 
   
   example of using Awaitility (ignore any exceptions thrown using evaluation) from another test:
   
   https://github.com/apache/pulsar/blob/da71ec2b2a6682ffbab60843756f638bedbd4460/pulsar-broker/src/test/java/org/apache/pulsar/io/PulsarFunctionE2ETest.java#L131-L138


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org