From a4b31f314fa1385950a9dbc81682d9acb2e2fba9 Mon Sep 17 00:00:00 2001 From: Samruddhi Khandale Date: Fri, 18 Aug 2023 16:01:50 -0700 Subject: [docker-in-docker] Reverts the retry logic (#659) * Update install.sh * [docker-in-docker] Update retry logic * revert the retry logic! --- test/docker-in-docker/docker_retry.sh | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 test/docker-in-docker/docker_retry.sh (limited to 'test/docker-in-docker/docker_retry.sh') diff --git a/test/docker-in-docker/docker_retry.sh b/test/docker-in-docker/docker_retry.sh deleted file mode 100644 index cc35fbb..0000000 --- a/test/docker-in-docker/docker_retry.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/bash - -set -e - -# Optional: Import test library -source dev-container-features-test-lib - -# Definition specific tests -check "docker-buildx" docker buildx version -check "docker-ps" docker ps - -sleep 5s - -# Stop docker -pkill dockerd -pkill containerd - -sleep 5s - -set +e - docker_ok_code="$(docker info > /dev/null 2>&1; echo $?)" -set -e - -check "docker-not-running" bash -c "[[ ${docker_ok_code} == 1 ]]" - -# Testing retry logic -./test-scripts/docker-test-init.sh - -check "docker-started-after-retries" docker ps - -# Report result -reportResults -- cgit v1.2.3