BewareMyPower commented on issue #14848: URL: https://github.com/apache/pulsar/issues/14848#issuecomment-1246375370
**Steps to reproduce** First, start a container: ```bash mvn clean install -DskipTests -Pcore-modules,-main docker run -v $PWD:/pulsar -it apachepulsar/pulsar-build:ubuntu-20.04 /bin/bash ``` Then, run the following commands inside the container: ```bash # Build the unit test (increase the docker memory if segfault happened, or remove -j4 option) cd /pulsar/pulsar-client-cpp/ cmake -B _builds -DBUILD_DYNAMIC_LIB=OFF -DBUILD_PERF_TOOLS=OFF -DBUILD_PYTHON_WRAPPER=OFF cmake --build _builds -j4 # Run the standalone cd /pulsar/distribution/server/target/ tar zxf apache-pulsar-*.tar.gz cd apache-pulsar-*-SNAPSHOT ./bin/pulsar-daemon start standalone -nss -nfw # Run the test for multiple times cd /pulsar/pulsar-client-cpp/_builds ./tests/main --gtest_filter='ClientTest.testReferenceCount' --gtest_repeat=10 ``` -- 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]
