Browse Source

slowly increasing load

root 5 years ago
parent
commit
c04ebf1397
2 changed files with 6 additions and 24 deletions
  1. 5 23
      test_complete_run.sh
  2. 1 1
      test_re_big.sh

+ 5 - 23
test_complete_run.sh

@@ -12,34 +12,16 @@ do
 	echo "Starting short recycle iteration ${i}";
 	_evalBg "${short_all}";
 	_evalBg "${short_re}";
-	sleep 1s
+	sleep 180s
 done
 
 
-for i in {1..3}
+for i in {1..20}
 do
-        echo "Starting all_big iteration ${i}"
+        echo "Starting all_big iteration and one recycling ${i}"
 	/bin/bash ./test_all_big.sh
-        echo "Waiting 10 Minutes"
+        /bin/bash ./test_re_big.sh
+        echo "Waiting 20 Minutes"
 	sleep 600s
 done
-/bin/bash ./test_re_big.sh
-
-echo "Waiting 20 minutes before next start"
-sleep 1200s
-
-for i in {1..6}
-do
-	echo "Starting all_big iteration ${1}"
-	./test_all_big.sh
-        echo "Waiting 10 Minutes"
-	sleep 600s
-done
-
-for i in {1..2}
-do
-	echo "Starting daily recycling"
-	./test_re_big.sh
-done
-ps -fe | grep python3
 echo "All done"

+ 1 - 1
test_re_big.sh

@@ -1 +1 @@
-python3 API_Calls.py --users=500 --products=1000 --ini_file=init_test.ini --server=https://app-test.earthsquad.global/api --mode=recycling --csv="/dist/auth_user_testserver.csv" >/dev/null 2>&1 &
+python3 API_Calls.py --users=1000 --products=500 --ini_file=init_test.ini --server=https://app-test.earthsquad.global/api --mode=recycling --csv="/dist/auth_user_testserver.csv" >/dev/null 2>&1 &