Skip to content
Snippets Groups Projects
Commit 0ad1de8d authored by Sergey Yakubov's avatar Sergey Yakubov
Browse files

fix tests

parent 9f7b3b57
Branches
Tags
No related merge requests found
......@@ -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`;
......
......@@ -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`;
......
......@@ -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
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment