mirror of
https://github.com/containers/podman
synced 2024-10-20 17:23:30 +00:00
System tests: fix two race conditions
Basically, add 'podman wait' before 'podman rm'. See if this fixes gating tests run on ppc64le (possibly very very slow hosts) Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
parent
ba9c1f3f17
commit
c11e9b01b3
|
@ -501,6 +501,7 @@ json-file | f
|
|||
run_podman inspect --format '{{.OCIRuntime}}' $cid
|
||||
is "$output" "$new_runtime" "podman inspect shows configured runtime"
|
||||
run_podman kill $cid
|
||||
run_podman wait $cid
|
||||
run_podman rm $cid
|
||||
rm -f $new_runtime
|
||||
}
|
||||
|
|
|
@ -116,6 +116,7 @@ load helpers
|
|||
is "$output" ".*${teststring}.*" "test string received on container"
|
||||
|
||||
# Clean up
|
||||
run_podman wait $cid
|
||||
run_podman rm $cid
|
||||
done
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue