Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flaky Test: ConsumerTest.testConsumerEventWithoutPartition #280

Closed
BewareMyPower opened this issue Jun 5, 2023 · 0 comments · Fixed by #281
Closed

Flaky Test: ConsumerTest.testConsumerEventWithoutPartition #280

BewareMyPower opened this issue Jun 5, 2023 · 0 comments · Fixed by #281

Comments

@BewareMyPower
Copy link
Contributor

Example failure

[ RUN      ] ConsumerTest.testConsumerEventWithoutPartition
2023-06-04 16:17:08.238 INFO  [139734414847744] Client:90 | Subscribing on Topic :testConsumerEventWithoutPartition-topic-1685895428
2023-06-04 16:17:08.240 INFO  [139734414847744] ClientConnection:184 | [<none> -> pulsar://localhost:6650] Create ClientConnection, timeout=10000
2023-06-04 16:17:08.240 INFO  [139734414847744] ConnectionPool:106 | Created connection for pulsar://localhost:6650
2023-06-04 16:17:08.244 INFO  [139734411724352] ClientConnection:382 | [[::1]:54162 -> [::1]:6650] Connected to broker
2023-06-04 16:17:08.249 INFO  [139734411724352] HandlerBase:72 | [0x7f1664004300, sub, 0] Getting connection from pool
2023-06-04 16:17:08.291 INFO  [139734411724352] ConsumerImpl:282 | [0x7f1664004300, sub, 0] Created consumer on broker [[::1]:54162 -> [::1]:6650]
2023-06-04 16:17:09.291 INFO  [139734378161728] ConsumerTest:58 | Received consumer active event, partitionId:-1, name: listener-1
2023-06-04 16:17:10.291 INFO  [139734414847744] Client:90 | Subscribing on Topic :testConsumerEventWithoutPartition-topic-1685895428
2023-06-04 16:17:10.293 INFO  [139734411724352] HandlerBase:72 | [0x7f1664008ea0, sub, 1] Getting connection from pool
2023-06-04 16:17:10.295 INFO  [139734411724352] ConsumerImpl:282 | [0x7f1664008ea0, sub, 1] Created consumer on broker [[::1]:54162 -> [::1]:6650]
2023-06-04 16:17:11.296 INFO  [139734378161728] ConsumerTest:63 | Received consumer inactive event, partitionId:-1, name: listener-1
2023-06-04 16:17:11.296 INFO  [139734378161728] ConsumerTest:58 | Received consumer active event, partitionId:-1, name: listener-2
/home/runner/work/pulsar-client-cpp/pulsar-client-cpp/tests/ConsumerTest.cc:84: Failure
Expected equality of these values:
  0
  listener->inActiveQueue_.size()
    Which is: 1
/home/runner/work/pulsar-client-cpp/pulsar-client-cpp/tests/ConsumerTest.cc:88: Failure
Expected: (0) != (listener->inActiveQueue_.size()), actual: 0 vs 0
2023-06-04 16:17:12.296 INFO  [139734414847744] ConsumerImpl:1225 | [0x7f1664004300, sub, 0] Closing consumer for topic 0x7f1664004300
2023-06-04 16:17:12.300 INFO  [139734411724352] ConsumerImpl:1211 | [0x7f1664004300, sub, 0] Closed consumer 0
/home/runner/work/pulsar-client-cpp/pulsar-client-cpp/tests/ConsumerTest.cc:76: Failure
Expected equality of these values:
  0
  listener->inActiveQueue_.size()
    Which is: 1
2023-06-04 16:17:14.301 WARN  [139734414847744] ConsumerImpl:151 | [0x7f1664008ea0, sub, 1] Destroyed consumer which was not properly closed
2023-06-04 16:17:14.301 INFO  [139734414847744] ConsumerImpl:159 | [0x7f1664008ea0, sub, 1] Closed consumer for race condition: 1
2023-06-04 16:17:14.301 INFO  [139734414847744] ClientConnection:1228 | [[::1]:54162 -> [::1]:6650] Connection disconnected
2023-06-04 16:17:14.302 INFO  [139734414847744] ClientConnection:263 | [[::1]:54162 -> [::1]:6650] Destroyed connection
[  FAILED  ] ConsumerTest.testConsumerEventWithoutPartition (6064 ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant