Merge pull request #1204 from Random-Liu/fix-ctr-readiness-check

Fix ctr readiness check in test.
This commit is contained in:
Lantao Liu 2019-07-25 00:25:20 -07:00 committed by GitHub
commit 5fdb4b8eef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"
}