From e83fe56075ed1a0727a88fc33c24710b07dd14cf Mon Sep 17 00:00:00 2001 From: Lantao Liu Date: Wed, 24 Jul 2019 15:38:55 -0700 Subject: [PATCH] Fix ctr readiness check in test. Signed-off-by: Lantao Liu --- hack/test-utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/test-utils.sh b/hack/test-utils.sh index 6ba52584c..09795ae7c 100755 --- a/hack/test-utils.sh +++ b/hack/test-utils.sh @@ -69,7 +69,7 @@ test_setup() { echo "crictl is not in PATH" exit 1 fi - readiness_check "sudo ${ctr_path} version" + readiness_check "sudo ${ctr_path} --address ${CONTAINERD_SOCK#"unix://"} version" readiness_check "sudo ${crictl_path} --runtime-endpoint=${CONTAINERD_SOCK} info" }