fix: scope init tests to container processes only

This commit is contained in:
Tan Jay Jun committed 2020-04-23 01:33:30 +08:00
1 parent 9b48a386fc
commit 14934a9479
3 files changed
+18 -6

No files matched your search

+6 -2
View File
@@ -13,8 +13,12 @@ teardown() {
}
@test "(init) dockerfile with tini" {
deploy_app zombies-dockerfile-tini
run ps ax
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
local APP="zombies-dockerfile-tini"
deploy_app "$APP"
local CIDS=$(get_app_container_ids "$APP")
run "$DOCKER_BIN" container top "$CIDS"
echo "output: $output"
assert_output_contains "<defunct>" "0"
}