test: suggests sudo make localintegration
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
560b0a6a9b
commit
77c40487de
3 changed files with 18 additions and 13 deletions
|
@ -8,8 +8,9 @@ function teardown() {
|
|||
|
||||
# PR#59
|
||||
@test "pod release name on remove" {
|
||||
if "$TRAVIS"; then
|
||||
skip "cannot yet run this test in a container"
|
||||
# this test requires docker, thus it can't yet be run in a container
|
||||
if [ "$TRAVIS" = "true" ]; then # instead of $TRAVIS, add a function is_containerized to skip here
|
||||
skip "cannot yet run this test in a container, use sudo make localintegration"
|
||||
fi
|
||||
|
||||
start_ocid
|
||||
|
@ -24,4 +25,6 @@ function teardown() {
|
|||
[ "$status" -eq 0 ]
|
||||
run ocic pod create --config "$TESTDATA"/sandbox_config.json
|
||||
[ "$status" -eq 0 ]
|
||||
stop_ocid
|
||||
cleanup_pods
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue