BewareMyPower commented on issue #14848:
URL: https://github.com/apache/pulsar/issues/14848#issuecomment-1223699864

   This flaky test can be reproduced by
   
   ```bash
   ./tests/main --gtest_filter='ClientTest.testReferenceCount' --gtest_repeat=20
   ```
   
   ```
   Repeating all tests (iteration 10) . . .
   
   Note: Google Test filter = ClientTest.testReferenceCount
   [==========] Running 1 test from 1 test suite.
   [----------] Global test environment set-up.
   [----------] 1 test from ClientTest
   [ RUN      ] ClientTest.testReferenceCount
   2022-08-23 15:58:05.988 INFO  [0x116028600] ClientConnection:189 | [<none> 
-> pulsar://localhost:6650] Create ClientConnection, timeout=10000
   2022-08-23 15:58:05.988 INFO  [0x116028600] ConnectionPool:96 | Created 
connection for pulsar://localhost:6650
   2022-08-23 15:58:05.989 INFO  [0x70000c17a000] ClientConnection:375 | 
[127.0.0.1:59906 -> 127.0.0.1:6650] Connected to broker
   2022-08-23 15:58:05.990 INFO  [0x70000c17a000] HandlerBase:61 | 
[persistent://public/default/client-test-reference-count-1661241485, ] Getting 
connection from pool
   2022-08-23 15:58:05.993 INFO  [0x70000c17a000] ProducerImpl:186 | 
[persistent://public/default/client-test-reference-count-1661241485, ] Created 
producer on broker [127.0.0.1:59906 -> 127.0.0.1:6650] 
   2022-08-23 15:58:05.993 INFO  [0x116028600] ClientTest:210 | Reference count 
of the producer: 1
   2022-08-23 15:58:05.993 INFO  [0x116028600] Client:88 | Subscribing on Topic 
:client-test-reference-count-1661241485
   2022-08-23 15:58:05.995 INFO  [0x70000c17a000] HandlerBase:61 | 
[persistent://public/default/client-test-reference-count-1661241485, my-sub, 0] 
Getting connection from pool
   2022-08-23 15:58:05.997 INFO  [0x70000c17a000] ConsumerImpl:220 | 
[persistent://public/default/client-test-reference-count-1661241485, my-sub, 0] 
Created consumer on broker [127.0.0.1:59906 -> 127.0.0.1:6650] 
   2022-08-23 15:58:05.997 INFO  [0x116028600] ClientTest:216 | Reference count 
of the consumer: 1
   2022-08-23 15:58:05.998 INFO  [0x70000c17a000] HandlerBase:61 | 
[persistent://public/default/client-test-reference-count-1661241485-reader, 
reader-3414259df0, 1] Getting connection from pool
   2022-08-23 15:58:06.000 INFO  [0x70000c17a000] ConsumerImpl:220 | 
[persistent://public/default/client-test-reference-count-1661241485-reader, 
reader-3414259df0, 1] Created consumer on broker [127.0.0.1:59906 -> 
127.0.0.1:6650] 
   
/Users/xuyunze/github.com/BewareMyPower/pulsar/pulsar-client-cpp/tests/ClientTest.cc:222:
 Failure
   Expected equality of these values:
     consumers.size()
       Which is: 1
     2
   ```


-- 
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]

Reply via email to