improve test performance
This commit is contained in:
parent
bba801f2d2
commit
589700e4d3
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue