Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
ktock committed Sep 18, 2024
1 parent 5fe7235 commit ee97ff3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions script/cri-o/test-legacy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function cleanup {
exit "${ORG_EXIT_CODE}"
}

RETRYNUM=100
RETRYNUM=10
RETRYINTERVAL=1
TIMEOUTSEC=180
function retry {
Expand All @@ -59,7 +59,9 @@ TEST_NODE_ID=$(docker run --rm -d --privileged \
--tmpfs=/var/lib/stargz-store:suid \
"${NODE_TEST_IMAGE_NAME}")
echo "Running node on: ${TEST_NODE_ID}"
retry docker exec "${TEST_NODE_ID}" /go/bin/crictl --runtime-endpoint=${CRIO_SOCK} stats
retry docker exec "${TEST_NODE_ID}" /go/bin/crictl --runtime-endpoint=${CRIO_SOCK} stats || true
systemctl status crio.service || true
journalctl -xeu crio.service || true

# If container started successfully, varidate the runtime through CRI
FAIL=
Expand Down

0 comments on commit ee97ff3

Please sign in to comment.