Skip to content

Commit

Permalink
Added timeout in test-backup-restore.rec
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel_Shilin committed Jul 18, 2024
1 parent 357f04c commit b0dc24b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions clt_tests/tests/test-backup-restore.rec
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,10 @@ docker ps
––– output –––
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
––– input –––
if timeout 60 sh -c 'while docker ps -a | grep -qE "Up"; do sleep 1; done'; then echo 'successful'; else echo 'not successful'; fi
––– output –––
successful
––– input –––
docker run -d -e EXTRA=1 --name manticore -v /tmp/$BACKUP_NAME:/docker-entrypoint-initdb.d manticoresoftware/manticore:current
––– output –––
#!/[0-9a-z]{40}$/!#
Expand Down

0 comments on commit b0dc24b

Please sign in to comment.