example failure
FAILED TESTS (1/376):
166 ms: ./pulsar-tests ProducerTest.testWaitForExclusiveProducer (try #1)
[ RUN ] ProducerTest.testWaitForExclusiveProducer
2022-12-01 06:25:37.989 INFO [140250769911488] ClientConnection:189 | [<none> -> pulsar://localhost:6650] Create ClientConnection, timeout=10000
2022-12-01 06:25:37.989 INFO [140250769911488] ConnectionPool:97 | Created connection for pulsar://localhost:6650
2022-12-01 06:25:37.991 INFO [140250766808640] ClientConnection:379 | [[::1]:37744 -> [::1]:6650] Connected to broker
2022-12-01 06:25:37.997 INFO [140250766808640] HandlerBase:72 | [persistent://public/default/testWaitForExclusiveProducer1669875937, p-name-1] Getting connection from pool
2022-12-01 06:25:38.038 INFO [140250766808640] ProducerImpl:190 | [persistent://public/default/testWaitForExclusiveProducer1669875937, p-name-1] Created producer on broker [[::1]:37744 -> [::1]:6650]
2022-12-01 06:25:38.043 INFO [140250769911488] ProducerImpl:721 | [persistent://public/default/testWaitForExclusiveProducer1669875937, p-name-1] Closing producer for topic persistent://public/default/testWaitForExclusiveProducer1669875937
2022-12-01 06:25:38.044 INFO [140250766808640] ProducerImpl:687 | [persistent://public/default/testWaitForExclusiveProducer1669875937, p-name-1] Closed producer 0
2022-12-01 06:25:38.045 INFO [140250766808640] HandlerBase:72 | [persistent://public/default/testWaitForExclusiveProducer1669875937, p-name-2] Getting connection from pool
2022-12-01 06:25:38.053 INFO [140250766808640] ProducerImpl:190 | [persistent://public/default/testWaitForExclusiveProducer1669875937, p-name-2] Created producer on broker [[::1]:37744 -> [::1]:6650]
/home/runner/work/pulsar-client-cpp/pulsar-client-cpp/tests/ProducerTest.cc:331: Failure
Expected equality of these values:
ResultOk
Which is: Ok
producer2.send(MessageBuilder().setContent("content").build())
Which is: ProducerNotInitialized
Another failure
[ RUN ] ProducerTest.testWaitForExclusiveProducer
2023-03-24 08:16:50.796 INFO [140716606979840] ClientConnection:183 | [<none> -> pulsar://localhost:6650] Create ClientConnection, timeout=10000
2023-03-24 08:16:50.796 INFO [140716606979840] ConnectionPool:106 | Created connection for pulsar://localhost:6650
2023-03-24 08:16:50.799 INFO [140716603856448] ClientConnection:381 | [[::1]:35688 -> [::1]:6650] Connected to broker
2023-03-24 08:16:50.800 INFO [140716603856448] HandlerBase:72 | [persistent://public/default/testWaitForExclusiveProducer1679645810, p-name-1] Getting connection from pool
2023-03-24 08:16:50.807 INFO [140716603856448] ProducerImpl:208 | [persistent://public/default/testWaitForExclusiveProducer1679645810, p-name-1] Created producer on broker [[::1]:35688 -> [::1]:6650]
2023-03-24 08:16:50.811 INFO [140716606979840] ProducerImpl:755 | [persistent://public/default/testWaitForExclusiveProducer1679645810, p-name-1] Closing producer for topic 0x7ffb1c003ae0
2023-03-24 08:16:50.812 INFO [140716603856448] HandlerBase:72 | [persistent://public/default/testWaitForExclusiveProducer1679645810, p-name-2] Getting connection from pool
2023-03-24 08:16:50.812 INFO [140716603856448] ProducerImpl:719 | [persistent://public/default/testWaitForExclusiveProducer1679645810, p-name-1] Closed producer 0
2023-03-24 08:16:50.813 INFO [140716603856448] ProducerImpl:208 | [persistent://public/default/testWaitForExclusiveProducer1679645810, p-name-2] Created producer on broker [[::1]:35688 -> [::1]:6650]
/home/runner/work/pulsar-client-cpp/pulsar-client-cpp/tests/ProducerTest.cc:332: Failure
Expected equality of these values:
ResultOk
Which is: Ok
producer2.send(MessageBuilder().setContent("content").build())
Which is: ProducerNotInitialized
2023-03-24 08:16:50.814 INFO [140716606979840] ProducerImpl:709 | Producer - [persistent://public/default/testWaitForExclusiveProducer1679645810, p-name-1] , [batchMessageContainer = { BatchMessageContainer [size = 0] [bytes = 0] [maxSize = 1000] [maxBytes = 131072] [topicName = 0x7ffb1c003ae0] [numberOfBatchesSent_ = 2] [averageBatchSize_ = 0.5] }]