Im running some tests in circleci and some of the tests are taking longer then 10 min cause its ui tests that run on a headless browser that Im installing in my circle.yml
How can I extend the time of the timeout?
thanks
You can add the timeout
modifier to your command to increase the timeout beyond the default 600 seconds (10min).
For example, if you ran a test called my-test.sh, you could do the following:
test:
override:
- ./my-test.sh:
timeout: 900
Note that the command ends with a colon (:), with the modifier on the next line, double-indented (4 spaces instead of 2).
Reference: https://circleci.com/docs/configuration#modifiers
If you're using Circle CI 2.0, the syntax is no_output_timeout
:
- run:
name: Running Tests
command: ./my-test.sh
no_output_timeout: 20m
More details: https://circleci.com/docs/2.0/configuration-reference/#run
You need to use the timeout
modifier in your config as explained in this doc:
https://circleci.com/docs/configuration#modifiers
Here is an example doubling the default 600s to 1200s:
commands:
- /bin/bash build_scripts/deploy_to_eb.sh:
timeout: 1200
Cheers
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With