improve test performance

This commit is contained in:
ІО-23 Шмуляр Олег 2024-12-29 11:45:05 +02:00
parent bba801f2d2
commit 589700e4d3
Signed by: hasslesstech
GPG Key ID: 09745A46126DDD4C
1 changed files with 2 additions and 2 deletions

View File

@ -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'