PDavid commented on PR #2360:
URL: https://github.com/apache/zookeeper/pull/2360#issuecomment-4116559174
> Patch lgtm. The C client unit test failure is probably unrelated. Have you
checked it?
OK, I now looked into this a bit more.
This C client unit test failed in the PR build:
```
[exec]
/home/runner/work/zookeeper/zookeeper/zookeeper-client/zookeeper-client-c/tests/TestReconfig.cc:199:
Assertion: equality assertion failed [Expected: 1, Actual : 0]
```
I now run the C unit tests locally on this branch:
```
$ mvn -Pfull-build verify -pl zookeeper-client/zookeeper-client-c
...
[exec]
/home/david/projects/upstream/zookeeper/zookeeper-client/zookeeper-client-c/tests/TestReadOnlyClient.cc:118:
Assertion: equality assertion failed [Expected: 0, Actual : -15]
[exec]
/home/david/projects/upstream/zookeeper/zookeeper-client/zookeeper-client-c/tests/TestClient.cc:902:
Assertion: equality assertion failed [Expected: 0, Actual : -15]
[exec]
/home/david/projects/upstream/zookeeper/zookeeper-client/zookeeper-client-c/tests/TestClient.cc:913:
Assertion: equality assertion failed [Expected: 0, Actual : -15]
[exec] Failures !!!
[exec] Run: 94 Failure total: 3 Failures: 3 Errors: 0
[exec] FAIL: zktest-mt
[exec] ==========================================
[exec] 1 of 2 tests failed
[exec] Please report to [email protected]
[exec] ==========================================
[exec] make[1]: Leaving directory
'/home/david/projects/upstream/zookeeper/zookeeper-client/zookeeper-client-c/target/c'
[exec] make[1]: *** [Makefile:1903: check-TESTS] Error 1
[exec] make: *** [Makefile:2168: check-am] Error 2
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 07:10 min
[INFO] Finished at: 2026-03-24T09:32:55+01:00
[INFO]
------------------------------------------------------------------------
```
`TestReconfig.cc` did not fail for me locally, these 3 other tests above
failed though. I tried to execute the tests again 2 times, I got the same
result. These 3 other tests are also failing for me on master.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]