Flaky-test: C++ ClientTest.testReferenceCount
See original GitHub issueClientTest.testReferenceCount is flaky. It fails sporadically.
2022-03-23 08:18:48.488 INFO [140121845906176] ClientConnection:182 | [<none> -> pulsar://localhost:6650] Create ClientConnection, timeout=10000
2022-03-23 08:18:48.488 INFO [140121845906176] ConnectionPool:96 | Created connection for pulsar://localhost:6650
2022-03-23 08:18:48.492 INFO [140121726842624] ClientConnection:368 | [127.0.0.1:32784 -> 127.0.0.1:6650] Connected to broker
2022-03-23 08:18:48.494 INFO [140121726842624] HandlerBase:64 | [persistent://public/default/client-test-reference-count-1648023528, ] Getting connection from pool
2022-03-23 08:18:48.504 INFO [140121726842624] ProducerImpl:188 | [persistent://public/default/client-test-reference-count-1648023528, ] Created producer on broker [127.0.0.1:32784 -> 127.0.0.1:6650]
/pulsar/pulsar-client-cpp/tests/ClientTest.cc:[192](https://github.com/apache/pulsar/runs/5656553451?check_suite_focus=true#step:11:192): Failure
Value of: 1
Expected: producers[0].use_count()
Which is: 7
2022-03-23 08:18:48.525 INFO [140385848068864] ClientConnection:182 | [<none> -> pulsar://localhost:6650] Create ClientConnection, timeout=10000
2022-03-23 08:18:48.525 INFO [140385848068864] ConnectionPool:96 | Created connection for pulsar://localhost:6650
2022-03-23 08:18:48.527 INFO [140385729005312] ClientConnection:368 | [127.0.0.1:32786 -> 127.0.0.1:6650] Connected to broker
2022-03-23 08:18:48.530 INFO [140385729005312] HandlerBase:64 | [persistent://public/default/client-test-reference-count-1648023528, ] Getting connection from pool
2022-03-23 08:18:48.536 INFO [140385729005312] ProducerImpl:188 | [persistent://public/default/client-test-reference-count-1648023528, ] Created producer on broker [127.0.0.1:32786 -> 127.0.0.1:6650]
/pulsar/pulsar-client-cpp/tests/ClientTest.cc:192: Failure
Value of: 1
Expected: producers[0].use_count()
Which is: 7
Issue Analytics
- State:
- Created a year ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@BewareMyPower Looks like the test still can get failed https://github.com/apache/pulsar/runs/7948115233?check_suite_focus=true
Steps to reproduce
First, start a container:
Then, run the following commands inside the container: