C client test suite fails consistently
Bug #912935 reported by
Clint Byrum
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zookeeper (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
When the c client test suite, zktest-mt, is run, it fails with this:
tests/TestZooke
This was also reported in 3.3.1 here:
http://<email address hidden>
The C client tests are making some assumptions that are not valid. getaddrinfo may have, at one time, returned ENOENT instead of EINVAL for the host given in the test. The assertion should simply be that EINVAL | ENOENT are given, so that builds on platforms which return ENOENT for this are not broken.
Related branches
lp:~clint-fewbar/ubuntu/precise/zookeeper/run-unit-tests
- James Page: Approve
-
Diff: 400 lines (+340/-1)7 files modified.pc/applied-patches (+1/-0)
.pc/fix-broken-c-client-unittest.patch/src/c/tests/TestZookeeperInit.cc (+301/-0)
debian/changelog (+9/-0)
debian/patches/fix-broken-c-client-unittest.patch (+20/-0)
debian/patches/series (+1/-0)
debian/rules (+7/-0)
src/c/tests/TestZookeeperInit.cc (+1/-1)
Changed in zookeeper (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Low |
To post a comment you must log in.
Note that this is also reported upstream here:
https:/ /issues. apache. org/jira/ browse/ ZOOKEEPER- 1353