Skip to content

Commit

Permalink
Update timeouts for logs output
Browse files Browse the repository at this point in the history
  • Loading branch information
georgetarazevich committed Dec 15, 2023
1 parent 4953681 commit 34b8e11
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Options/config/validator/debug.bats
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ teardown() {
run curl -F "file=@$PROJECT_ROOT/Resources/a_for_debug.pdf" localhost:8080/api/validate/3a -H "Accept:text/html"
[ "$status" -eq 0 ]

sleep 5 # sleep sec
sleep 30 # sleep sec
run docker logs $DOCKER_CONTAINER -t --since=$test_logs_starting_time

sleep 30 # sleep sec
Expand Down
4 changes: 4 additions & 0 deletions tests/Options/setup_suite.bash
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,9 @@ teardown_suite() {
echo -e "\nEnding tests ... \n" >&3

# docker logs $DOCKER_ID >&3

sleep 30 # sleep sec

docker logs $DOCKER_ID > ./results/container.log 2>&1
sleep 30 # sleep sec
}

0 comments on commit 34b8e11

Please sign in to comment.