This is an automated email from the ASF dual-hosted git repository. sijie pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-pulsar.git
The following commit(s) were added to refs/heads/master by this push: new e2a585a cpp tests should wait for standalone up (#1611) e2a585a is described below commit e2a585ab2fe1c2f8f8eb0d0f1b8ed2100e7a3fc4 Author: Sijie Guo <guosi...@gmail.com> AuthorDate: Wed Apr 18 13:17:08 2018 -0700 cpp tests should wait for standalone up (#1611) --- pulsar-client-cpp/run-unit-tests.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pulsar-client-cpp/run-unit-tests.sh b/pulsar-client-cpp/run-unit-tests.sh index 0513bba..466eae0 100755 --- a/pulsar-client-cpp/run-unit-tests.sh +++ b/pulsar-client-cpp/run-unit-tests.sh @@ -34,16 +34,26 @@ PULSAR_STANDALONE_CONF=$PWD/test-conf/standalone-ssl.conf pulsar-dist/bin/pulsar --zookeeper-dir data2/standalone/zookeeper --bookkeeper-dir \ data2/standalone/bookkeeper > broker-tls.log & auth_pid=$!; -sleep 10 + +echo "Wait for non-tls standalone up" +until grep "Created tenant public" broker.log; do sleep 5; done # create property for test PULSAR_CLIENT_CONF=$PWD/test-conf/client.conf pulsar-dist/bin/pulsar-admin tenants create prop -r "" -c "unit" +echo "Created tenant 'prop' - $?" + PULSAR_CLIENT_CONF=$PWD/test-conf/client.conf pulsar-dist/bin/pulsar-admin tenants create property -r "" -c "cluster" +echo "Created tenant 'property' - $?" PULSAR_CLIENT_CONF=$PWD/test-conf/client-ssl.conf pulsar-dist/bin/pulsar-admin clusters create \ --url http://localhost:9765/ --url-secure https://localhost:9766/ \ --broker-url pulsar://localhost:9885/ --broker-url-secure pulsar+ssl://localhost:9886/ \ cluster +PULSAR_CLIENT_CONF=$PWD/test-conf/client-ssl.conf pulsar-dist/bin/pulsar-admin clusters create \ + --url http://localhost:9765/ --url-secure https://localhost:9766/ \ + --broker-url pulsar://localhost:9885/ --broker-url-secure pulsar+ssl://localhost:9886/ \ + unit + sleep 5 cd tests -- To stop receiving notification emails like this one, please contact si...@apache.org.