Fix ctr readiness check in test.
Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
parent
64bf4bebf3
commit
e83fe56075
@ -69,7 +69,7 @@ test_setup() {
|
|||||||
echo "crictl is not in PATH"
|
echo "crictl is not in PATH"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
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"
|
readiness_check "sudo ${crictl_path} --runtime-endpoint=${CONTAINERD_SOCK} info"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user