From e4d8b17a85194cc7a6b61b738a4f128455c18eee Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Wed, 26 Feb 2020 13:54:06 -0800 Subject: [PATCH] Increase timeout in timeout test The test_playbook test in the Ansible tests (which tests a bunch of interactions between Zuul and Ansible) has a test job called "timeout" which verifies that everything works if a job timeout hits while ansible is running. We currently allow the job to run for 5 seconds, but that includes both pre-run and run playbooks. Sometimes the job runs slowly and we hit the timeout during the pre-run playbook, which means it gets retried, which the test does not expect. Double our allowance and let the job run for 10 seconds before hitting the timeout so that it's more likely it hits during the run playbook. Change-Id: I396647117f7362c4b547ed374292c12bd5a73435 --- tests/fixtures/config/ansible/git/common-config/zuul.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/fixtures/config/ansible/git/common-config/zuul.yaml b/tests/fixtures/config/ansible/git/common-config/zuul.yaml index 6ece419239..137d1b33e3 100644 --- a/tests/fixtures/config/ansible/git/common-config/zuul.yaml +++ b/tests/fixtures/config/ansible/git/common-config/zuul.yaml @@ -108,7 +108,7 @@ parent: python27 name: timeout run: playbooks/timeout.yaml - timeout: 5 + timeout: 10 - job: parent: python27