BewareMyPower opened a new issue, #14848: URL: https://github.com/apache/pulsar/issues/14848
ClientTest.testReferenceCount is flaky. It fails sporadically. [example failure](https://github.com/apache/pulsar/runs/5656553451?check_suite_focus=true) ``` 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 ``` -- 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]
