From b544659a2a228bacd6c8f7bbc1d7f3cc12abc9fe Mon Sep 17 00:00:00 2001 From: madereddy <49539048+madereddy@users.noreply.github.com> Date: Fri, 10 Nov 2023 13:58:49 -0500 Subject: [PATCH] Timeout testing --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 23ca1b3f..77e7470b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -18,7 +18,7 @@ jobs: - run: name: Test Docker image command: | - timeout 60 docker run [$IMAGE_NAME --config config.json --min_sleep 1 --max_sleep 5]; test $? -eq 124 && echo "Container ran for 60 seconds without failing" + docker run $IMAGE_NAME --config config.json --min_sleep 1 --max_sleep 5 --timeout 60 - run: name: Archive Docker image command: docker save -o image.tar $IMAGE_NAME