From 0ad1de8d2a2e6cc7457e3a2b0a0ecf29a7578659 Mon Sep 17 00:00:00 2001 From: Sergey Yakubov <sergey.yakubov@desy.de> Date: Tue, 16 Mar 2021 10:29:50 +0100 Subject: [PATCH] fix tests --- examples/consumer/getnext/check_linux.sh | 2 ++ examples/consumer/getnext_python/check_linux.sh | 2 ++ tests/automatic/consumer/consumer_api/check_linux.sh | 2 ++ tests/automatic/consumer/next_multithread_broker/check_linux.sh | 2 ++ 4 files changed, 8 insertions(+) diff --git a/examples/consumer/getnext/check_linux.sh b/examples/consumer/getnext/check_linux.sh index de35146bc..049a9c4c9 100644 --- a/examples/consumer/getnext/check_linux.sh +++ b/examples/consumer/getnext/check_linux.sh @@ -15,12 +15,14 @@ Cleanup() { nomad stop nginx nomad run nginx_kill.nmd && nomad stop -yes -purge nginx_kill nomad stop discovery + nomad stop authorizer nomad stop broker echo "db.dropDatabase()" | mongo ${database_name} } nomad run nginx.nmd nomad run discovery.nmd +nomad run authorizer.nmd nomad run broker.nmd for i in `seq 1 3`; diff --git a/examples/consumer/getnext_python/check_linux.sh b/examples/consumer/getnext_python/check_linux.sh index 5a6d59b02..2ac44afdd 100644 --- a/examples/consumer/getnext_python/check_linux.sh +++ b/examples/consumer/getnext_python/check_linux.sh @@ -15,12 +15,14 @@ Cleanup() { nomad stop nginx nomad run nginx_kill.nmd && nomad stop -yes -purge nginx_kill nomad stop discovery + nomad stop authorizer nomad stop broker echo "db.dropDatabase()" | mongo ${database_name} } nomad run nginx.nmd nomad run discovery.nmd +nomad run authorizer.nmd nomad run broker.nmd for i in `seq 1 3`; diff --git a/tests/automatic/consumer/consumer_api/check_linux.sh b/tests/automatic/consumer/consumer_api/check_linux.sh index cadb64938..f674a67ed 100644 --- a/tests/automatic/consumer/consumer_api/check_linux.sh +++ b/tests/automatic/consumer/consumer_api/check_linux.sh @@ -14,6 +14,7 @@ Cleanup() { nomad stop nginx nomad run nginx_kill.nmd && nomad stop -yes -purge nginx_kill nomad stop discovery + nomad stop authorizer nomad stop broker echo "db.dropDatabase()" | mongo ${database_name} rm -f 1_1 1 @@ -22,6 +23,7 @@ Cleanup() { nomad run nginx.nmd nomad run discovery.nmd +nomad run authorizer.nmd nomad run broker.nmd sleep 1 diff --git a/tests/automatic/consumer/next_multithread_broker/check_linux.sh b/tests/automatic/consumer/next_multithread_broker/check_linux.sh index d494ef54a..7da3c8b69 100644 --- a/tests/automatic/consumer/next_multithread_broker/check_linux.sh +++ b/tests/automatic/consumer/next_multithread_broker/check_linux.sh @@ -12,6 +12,7 @@ Cleanup() { nomad stop nginx nomad run nginx_kill.nmd && nomad stop -yes -purge nginx_kill nomad stop discovery + nomad stop authorizer nomad stop broker echo "db.dropDatabase()" | mongo ${database_name} } @@ -19,6 +20,7 @@ Cleanup() { nomad run nginx.nmd nomad run discovery.nmd +nomad run authorizer.nmd nomad run broker.nmd sleep 1 -- GitLab