Merge pull request #910 from sameo/topic/bats
test: Add timeout before checking for status
This commit is contained in:
commit
910cfab6e9
1 changed files with 2 additions and 0 deletions
|
@ -28,6 +28,7 @@ function teardown() {
|
|||
run crictl start "$ctr_id"
|
||||
echo "$output"
|
||||
[ "$status" -eq 0 ]
|
||||
run sleep 5
|
||||
run crictl inspect --output yaml "$ctr_id"
|
||||
echo "$output"
|
||||
[ "$status" -eq 0 ]
|
||||
|
@ -53,6 +54,7 @@ function teardown() {
|
|||
run crictl start "$ctr_id"
|
||||
echo "$output"
|
||||
[ "$status" -eq 0 ]
|
||||
run sleep 5
|
||||
run crictl inspect --output yaml "$ctr_id"
|
||||
echo "$output"
|
||||
[ "$status" -eq 0 ]
|
||||
|
|
Loading…
Reference in a new issue