mirror of
https://github.com/containers/podman.git
synced 2026-03-13 08:01:19 +08: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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user