mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jiang Yan Xu" <...@jxu.me>
Subject Review Request 24123: Fixed a flaky test: ZooKeeperTest.LeaderDetectorTimeoutHandling
Date Wed, 30 Jul 2014 22:44:03 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/24123/
-----------------------------------------------------------

Review request for mesos and Ben Mahler.


Bugs: MESOS-1655
    https://issues.apache.org/jira/browse/MESOS-1655


Repository: mesos-git


Description
-------

Fixed a flaky test: ZooKeeperTest.LeaderDetectorTimeoutHandling
- The original ZK session timeout was the same as AWAIT_READY timeout so it's possible that
AWAIT_READY timed out in a race.
- Plus we were spending 10 seconds clock time on this wait so I reduced the timeout.


Diffs
-----

  src/tests/zookeeper_tests.cpp be9fa06818b96e5170c68810fe16cc472f1f8b28 

Diff: https://reviews.apache.org/r/24123/diff/


Testing
-------

Ran the test for 350 iterations so far and it didn't fail.


Thanks,

Jiang Yan Xu


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message