Hi Bo, This test takes about 1 minute to finish, did you wait long enough? I ran this test in my local env (Ubuntu 20.04) against a Pulsar 2.11.0 standalone and it succeeded.
``` $ ./tests/pulsar-tests --gtest_filter='BasicEndToEndTest.testMessageListenerPause' Note: Google Test filter = BasicEndToEndTest.testMessageListenerPause [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from BasicEndToEndTest [ RUN ] BasicEndToEndTest.testMessageListenerPause 2023-02-13 09:28:30.822 INFO [139733722046144] BasicEndToEndTest:922 | res = 204 2023-02-13 09:28:30.822 INFO [139733722046144] ClientConnection:190 | [<none> -> pulsar://localhost:6650] Create ClientConnection, timeout=10000 2023-02-13 09:28:30.822 INFO [139733722046144] ConnectionPool:97 | Created connection for pulsar://localhost:6650 2023-02-13 09:28:30.823 INFO [139733718923008] ClientConnection:388 | [127.0.0.1:37066 -> 127.0.0.1:6650] Connected to broker 2023-02-13 09:28:30.870 INFO [139733718923008] HandlerBase:72 | [persistent://public/default/partition-testMessageListenerPause-partition-0, ] Getting connection from pool 2023-02-13 09:28:31.116 INFO [139733718923008] ProducerImpl:202 | [persistent://public/default/partition-testMessageListenerPause-partition-0, ] Created producer on broker [127.0.0.1:37066 -> 127.0.0.1:6650] 2023-02-13 09:28:31.116 INFO [139733722046144] Client:87 | Subscribing on Topic :partition-testMessageListenerPause 2023-02-13 09:28:31.119 INFO [139733718923008] HandlerBase:72 | [persistent://public/default/partition-testMessageListenerPause-partition-0, subscription-name, 0] Getting connection from pool 2023-02-13 09:28:31.165 INFO [139733718923008] ConsumerImpl:238 | [persistent://public/default/partition-testMessageListenerPause-partition-0, subscription-name, 0] Created consumer on broker [127.0.0.1:37066 -> 127.0.0.1:6650] 2023-02-13 09:28:31.165 INFO [139733718923008] MultiTopicsConsumerImpl:274 | Successfully Subscribed to a single partition of topic in TopicsConsumer. Partitions need to create : 0 2023-02-13 09:28:31.165 INFO [139733718923008] MultiTopicsConsumerImpl:137 | Successfully Subscribed to Topics 2023-02-13 09:28:31.165 INFO [139733722046144] MultiTopicsConsumerImpl:286 | [ Topics Consumer persistent://public/default/partition-testMessageListenerPause,subscription-name] Unsubscribing 2023-02-13 09:28:31.165 INFO [139733722046144] ConsumerImpl:289 | [persistent://public/default/partition-testMessageListenerPause-partition-0, subscription-name, 0] Unsubscribing 2023-02-13 09:28:31.187 INFO [139733718923008] ConsumerImpl:294 | [persistent://public/default/partition-testMessageListenerPause-partition-0, subscription-name, 0] Unsubscribed successfully 2023-02-13 09:28:31.187 INFO [139733718923008] MultiTopicsConsumerImpl:291 | [Muti Topics Consumer: TopicName - persistent://public/default/partition-testMessageListenerPause - Subscription - subscription-name]Unsubscribed successfully 2023-02-13 09:28:31.187 INFO [139733722046144] Client:87 | Subscribing on Topic :partition-testMessageListenerPause 2023-02-13 09:28:31.188 INFO [139733718923008] HandlerBase:72 | [persistent://public/default/partition-testMessageListenerPause-partition-0, subscription-name, 1] Getting connection from pool 2023-02-13 09:28:31.195 INFO [139733718923008] ConsumerImpl:238 | [persistent://public/default/partition-testMessageListenerPause-partition-0, subscription-name, 1] Created consumer on broker [127.0.0.1:37066 -> 127.0.0.1:6650] 2023-02-13 09:28:31.195 INFO [139733718923008] MultiTopicsConsumerImpl:274 | Successfully Subscribed to a single partition of topic in TopicsConsumer. Partitions need to create : 0 2023-02-13 09:28:31.195 INFO [139733718923008] MultiTopicsConsumerImpl:137 | Successfully Subscribed to Topics 2023-02-13 09:29:29.226 INFO [139733722046144] ConsumerImpl:1097 | [persistent://public/default/partition-testMessageListenerPause-partition-0, subscription-name, 1] Closing consumer for topic persistent://public/default/partition-testMessageListenerPause-partition-0 2023-02-13 09:29:29.229 INFO [139733718923008] ConsumerImpl:1083 | [persistent://public/default/partition-testMessageListenerPause-partition-0, subscription-name, 1] Closed consumer 1 2023-02-13 09:29:29.230 INFO [139733722046144] ProducerImpl:740 | [persistent://public/default/partition-testMessageListenerPause-partition-0, standalone-0-0] Closing producer for topic persistent://public/default/partition-testMessageListenerPause-partition-0 2023-02-13 09:29:29.233 INFO [139733718923008] ProducerImpl:704 | [persistent://public/default/partition-testMessageListenerPause-partition-0, standalone-0-0] Closed producer 0 2023-02-13 09:29:29.233 INFO [139733722046144] ClientImpl:516 | Closing Pulsar client with 0 producers and 0 consumers 2023-02-13 09:29:29.234 INFO [139733685270272] ClientConnection:1600 | [127.0.0.1:37066 -> 127.0.0.1:6650] Connection closed with ConnectError 2023-02-13 09:29:29.234 INFO [139733685270272] ClientConnection:269 | [127.0.0.1:37066 -> 127.0.0.1:6650] Destroyed connection 2023-02-13 09:29:29.234 INFO [139733722046144] ProducerImpl:694 | Producer - [persistent://public/default/partition-testMessageListenerPause-partition-0, standalone-0-0] , [batchMessageContainer = { BatchMessageContainer [size = 0] [bytes = 0] [maxSize = 1000] [maxBytes = 131072] [topicName = persistent://public/default/partition-testMessageListenerPause-partition-0] [numberOfBatchesSent_ = 10001] [averageBatchSize_ = 0.9999] }] [ OK ] BasicEndToEndTest.testMessageListenerPause (58470 ms) ``` You can also verify the master branch in your local env. If it still failed, it would be something wrong with your own env. Please open an issue for it. Thanks, Yunze On Fri, Feb 10, 2023 at 2:59 PM 丛搏 <congbobo...@gmail.com> wrote: > > I run ./pulsar-tests block, > ``` > [ RUN ] BasicEndToEndTest.testMessageListenerPause > 2023-02-10 14:53:57.415 INFO [0x101084580] BasicEndToEndTest:922 | res = 204 > 2023-02-10 14:53:57.415 INFO [0x101084580] ClientConnection:190 | > [<none> -> pulsar://localhost:6650] Create ClientConnection, > timeout=10000 > 2023-02-10 14:53:57.415 INFO [0x101084580] ConnectionPool:97 | > Created connection for pulsar://localhost:6650 > 2023-02-10 14:53:57.418 INFO [0x16ffaf000] ClientConnection:388 | > [[::1]:51199 -> [::1]:6650] Connected to broker > 2023-02-10 14:53:57.433 INFO [0x16ffaf000] HandlerBase:72 | > [persistent://public/default/partition-testMessageListenerPause, ] > Getting connection from pool > 2023-02-10 14:53:57.502 INFO [0x16ffaf000] ProducerImpl:202 | > [persistent://public/default/partition-testMessageListenerPause, ] > Created producer on broker [[::1]:51199 -> [::1]:6650] > 2023-02-10 14:53:57.502 INFO [0x101084580] Client:87 | Subscribing on > Topic :partition-testMessageListenerPause > 2023-02-10 14:53:57.506 INFO [0x16ffaf000] HandlerBase:72 | > [persistent://public/default/partition-testMessageListenerPause, > subscription-name, 0] Getting connection from pool > 2023-02-10 14:53:57.549 INFO [0x16ffaf000] ConsumerImpl:238 | > [persistent://public/default/partition-testMessageListenerPause, > subscription-name, 0] Created consumer on broker [[::1]:51199 -> > [::1]:6650] > 2023-02-10 14:53:57.549 INFO [0x101084580] ConsumerImpl:289 | > [persistent://public/default/partition-testMessageListenerPause, > subscription-name, 0] Unsubscribing > 2023-02-10 14:53:57.574 INFO [0x16ffaf000] ConsumerImpl:294 | > [persistent://public/default/partition-testMessageListenerPause, > subscription-name, 0] Unsubscribed successfully > 2023-02-10 14:53:57.574 INFO [0x101084580] Client:87 | Subscribing on > Topic :partition-testMessageListenerPause > 2023-02-10 14:53:57.580 INFO [0x16ffaf000] HandlerBase:72 | > [persistent://public/default/partition-testMessageListenerPause, > subscription-name, 1] Getting connection from pool > 2023-02-10 14:53:57.628 INFO [0x16ffaf000] ConsumerImpl:238 | > [persistent://public/default/partition-testMessageListenerPause, > subscription-name, 1] Created consumer on broker [[::1]:51199 -> > [::1]:6650] > ``` > > I'm not sure what the problem is > > Thanks, > Bo > > Baodi Shi <ba...@apache.org> 于2023年2月9日周四 18:28写道: > > > > +1 (non-binding) > > > > * Verify checksum and signatures > > * Build from source (MacOS arm64 13.1) > > * Verify oauth2 set `TlsTrustCertsFilePath`(libpulsarwithdeps.a) > > * Verify the oauth2 set `TlsTrustCertsFilePath` on Node.js client > > > > > > Thanks, > > Baodi Shi > > > > > > 在 2023年2月9日 04:33:36 上,Matteo Merli <matteo.me...@gmail.com> 写道: > > > > > +1 > > > > > > -- > > > Matteo Merli > > > <matteo.me...@gmail.com> > > > > > > On Wed, Feb 8, 2023 at 12:28 AM Yunze Xu <y...@streamnative.io.invalid> > > > wrote: > > > > > > > > > This is the first release candidate for Apache Pulsar Client C++, version > > > 3.1.2. > > > > > > > > > It fixes the following issues: > > > > > > > > > https://github.com/apache/pulsar-client-cpp/issues?q=label%3Arelease%2F3.1.2 > > > > > > > > > *** Please download, test and vote on this release. This vote will stay > > > open > > > > > > for at least 72 hours *** > > > > > > > > > Note that we are voting upon the source (tag), binaries are provided for > > > > > > convenience. > > > > > > > > > Source and binary files: > > > > > > > > > https://dist.apache.org/repos/dist/dev/pulsar/pulsar-client-cpp/pulsar-client-cpp-3.1.2-candidate-1/ > > > > > > > > > SHA-512 checksums: > > > > > > > > > b8ecada9f9287b3c135c5b939385a59053193cab6c0b41d6faa074e98f596ad5c86d903d4bc581512fe10c1cd35ee74a2adcfb699f2e34349be2ee1d75f81cf4 > > > > > > apache-pulsar-client-cpp-3.1.2.tar.gz > > > > > > > > > The tag to be voted upon: > > > > > > v3.1.2-candidate-1 (9257d147d2cdfdd3817f9f1194d11797ed3d485c) > > > > > > https://github.com/apache/pulsar-client-cpp/releases/tag/v3.1.2-candidate-1 > > > > > > > > > Pulsar's KEYS file containing PGP keys you use to sign the release: > > > > > > https://dist.apache.org/repos/dist/dev/pulsar/KEYS > > > > > > > > > Please download the source package, and follow the README to compile and > > > test. > > > > > >