diff --git a/tests/lab3/user_test.sh b/tests/lab3/user_test.sh index 82f5c5e..319ffc8 100755 --- a/tests/lab3/user_test.sh +++ b/tests/lab3/user_test.sh @@ -19,7 +19,7 @@ fi echo ' Done.' echo -n 'Creating users...' -for i in $(seq 9); do +for i in $(seq 1); do curl -X POST -f -s \ --data "{\"name\": \"hi$i\"}" \ --header "Content-Type: application/json" \ @@ -49,7 +49,7 @@ echo " $DELETION_UUID." echo -n "Deleting user $DELETION_UUID..." curl -X DELETE -f -s \ - http://127.0.0.1:12402/user/$DELETION_UUID > /dev/null + http://$HOST:12402/user/$DELETION_UUID > /dev/null if [ $? -ne 0 ]; then echo 'Exiting due to previous error'