test: fix readme and sleep just 1
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
ab8b65b09e
commit
22cd20e705
2 changed files with 1 additions and 2 deletions
|
@ -59,7 +59,6 @@ function setup() {
|
|||
|
||||
# teardown is called at the end of every test.
|
||||
function teardown() {
|
||||
stop_ocid
|
||||
cleanup_test
|
||||
}
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ function teardown() {
|
|||
id="$output"
|
||||
run ocic pod stop --id "$id"
|
||||
[ "$status" -eq 0 ]
|
||||
sleep 5 # FIXME: there's a race between container kill and delete below
|
||||
sleep 1 # FIXME: there's a race between container kill and delete below
|
||||
run ocic pod remove --id "$id"
|
||||
[ "$status" -eq 0 ]
|
||||
run ocic pod create --config "$TESTDATA"/sandbox_config.json
|
||||
|
|
Loading…
Reference in a new issue