You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@zookeeper.apache.org by GitBox <gi...@apache.org> on 2022/02/24 18:10:19 UTC

[GitHub] [zookeeper] ztzg opened a new pull request #1827: ZOOKEEPER-4479: C tests: Avoid some jitter which results in flaky tests

ztzg opened a new pull request #1827:
URL: https://github.com/apache/zookeeper/pull/1827


   With these commits, the various tests in `TestOperations.cc` set the `last_sent` and `last_recv` fields of the "force-connected" ZooKeeper handle to deterministic values (which match the initial value of the time mock).
   
   When that value is not specified, these fields get set to the "real" time at the end of the  `forceConnected` function, which can be sufficiently different from the value held in the mock for some of the tests to fail.
   


-- 
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: notifications-unsubscribe@zookeeper.apache.org

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



[GitHub] [zookeeper] eolivelli closed pull request #1827: ZOOKEEPER-4479: C tests: Avoid some jitter which results in flaky tests

Posted by GitBox <gi...@apache.org>.
eolivelli closed pull request #1827:
URL: https://github.com/apache/zookeeper/pull/1827


   


-- 
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: notifications-unsubscribe@zookeeper.apache.org

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