Description
I am seeing unit test failure for c client after I do 'make check' as shown below. The failure is pretty consistent, but does not happen always. This is on latest check-out of zookeeper trunk.
------------------
Zookeeper_simpleSystem::testAsyncWatcherAutoReset ZooKeeper server started : elapsed 9640 : OK
Zookeeper_simpleSystem::testDeserializeString : elapsed 0 : OK
Zookeeper_simpleSystem::testFirstServerDown : elapsed 1007 : OK
Zookeeper_simpleSystem::testNullData : elapsed 1028 : OK
Zookeeper_simpleSystem::testIPV6 : elapsed 1008 : OK
Zookeeper_simpleSystem::testCreate : elapsed 1016 : OK
Zookeeper_simpleSystem::testPath : elapsed 1083 : OK
Zookeeper_simpleSystem::testPathValidation : elapsed 1046 : OK
Zookeeper_simpleSystem::testPing : elapsed 17301 : OK
Zookeeper_simpleSystem::testAcl : elapsed 1018 : OK
Zookeeper_simpleSystem::testChroot : elapsed 3057 : OK
Zookeeper_simpleSystem::testAuth ZooKeeper server started ZooKeeper server started : elapsed 29357 : OK
Zookeeper_simpleSystem::testHangingClient : elapsed 1037 : OK
Zookeeper_simpleSystem::testWatcherAutoResetWithGlobal ZooKeeper server started ZooKeeper server started ZooKeeper server started : elapsed 12983 : OK
Zookeeper_simpleSystem::testWatcherAutoResetWithLocal ZooKeeper server started ZooKeeper server started ZooKeeper server started : elapsed 13028 : OK
Zookeeper_simpleSystem::testGetChildren2 : elapsed 1031 : OK
Zookeeper_simpleSystem::testLastZxid : assertion : elapsed 2514
Zookeeper_watchers::testDefaultSessionWatcher1 : elapsed 52 : OK
Zookeeper_watchers::testDefaultSessionWatcher2 : elapsed 3 : OK
Zookeeper_watchers::testObjectSessionWatcher1 : elapsed 52 : OK
Zookeeper_watchers::testObjectSessionWatcher2 : elapsed 54 : OK
Zookeeper_watchers::testNodeWatcher1 : elapsed 55 : OK
Zookeeper_watchers::testChildWatcher1 : elapsed 3 : OK
Zookeeper_watchers::testChildWatcher2 : elapsed 3 : OK
tests/TestClient.cc:1281: Assertion: equality assertion failed [Expected: 1239, Actual : 1238]
Failures !!!
Run: 70 Failure total: 1 Failures: 1 Errors: 0
FAIL: zktest-mt
==========================================
1 of 2 tests failed
Please report to user@zookeeper.apache.org
==========================================
make[1]: *** [check-TESTS] Error 1
make[1]: Leaving directory `/home/abutala/work/zk/zookeeper-trunk/src/c'
make: *** [check-am] Error 2
------------------
$ uname -a
Linux abutala-vBox 3.8.0-35-generic #50~precise1-Ubuntu SMP Wed Dec 4 17:25:51 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux