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

fix tests

parent 31a7cbb9
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ Cleanup() {
nomad run nginx_kill.nmd && nomad stop -yes -purge nginx_kill
nomad stop discovery
nomad stop broker
# echo "db.dropDatabase()" | mongo ${database_name}
echo "db.dropDatabase()" | mongo ${database_name}
rm -f 1_1 1
}
......
......@@ -16,6 +16,9 @@ ping 1.0.0.0 -n 10 -w 100 > nul
for /l %%x in (1, 1, 10) do echo db.data_default.insert({"_id":%%x,"size":6,"name":"%%x","lastchange":1,"source":"none","buf_id":0,"meta":{"test":10}}) | %mongo_exe% %database_name% || goto :error
for /l %%x in (1, 1, 5) do echo db.data_stream1.insert({"_id":%%x,"size":6,"name":"1%%x","lastchange":1,"source":"none","buf_id":0,"meta":{"test":10}}) | %mongo_exe% %database_name% || goto :error
for /l %%x in (1, 1, 5) do echo db.data_stream2.insert({"_id":%%x,"size":6,"name":"2%%x","lastchange":1,"source":"none","buf_id":0,"meta":{"test":10}}) | %mongo_exe% %database_name% || goto :error
echo hello1 > 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment