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 639ccde
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 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,8 @@ 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
journalctl -xeu crio

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

0 comments on commit 639ccde

Please sign in to comment.