Skip to content

Commit

Permalink
Timeout testing
Browse files Browse the repository at this point in the history
  • Loading branch information
madereddy committed Nov 10, 2023
1 parent 712db5a commit b544659
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b544659

Please sign in to comment.