mirror of
https://github.com/containers/podman.git
synced 2025-07-24 07:58:04 +08:00
Merge pull request #10157 from edsantiago/bats
System tests: fix two race conditions
This commit is contained in:
test/system
@ -501,6 +501,7 @@ json-file | f
|
|||||||
run_podman inspect --format '{{.OCIRuntime}}' $cid
|
run_podman inspect --format '{{.OCIRuntime}}' $cid
|
||||||
is "$output" "$new_runtime" "podman inspect shows configured runtime"
|
is "$output" "$new_runtime" "podman inspect shows configured runtime"
|
||||||
run_podman kill $cid
|
run_podman kill $cid
|
||||||
|
run_podman wait $cid
|
||||||
run_podman rm $cid
|
run_podman rm $cid
|
||||||
rm -f $new_runtime
|
rm -f $new_runtime
|
||||||
}
|
}
|
||||||
|
@ -116,6 +116,7 @@ load helpers
|
|||||||
is "$output" ".*${teststring}.*" "test string received on container"
|
is "$output" ".*${teststring}.*" "test string received on container"
|
||||||
|
|
||||||
# Clean up
|
# Clean up
|
||||||
|
run_podman wait $cid
|
||||||
run_podman rm $cid
|
run_podman rm $cid
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user