From a4b512716ecd1df385088f8de6eb264275fde24b Mon Sep 17 00:00:00 2001 From: Andrew Cholakian Date: Thu, 1 Nov 2018 14:46:38 -0500 Subject: [PATCH] Lengthen default test timeout to 15 seconds On busy CI servers, I suspect some flakiness, as in the case of https://github.com/elastic/beats/pull/8667#pullrequestreview-169668965 is due to the server being temporarily too busy. Let's try lengthening this time to see if that helps. --- libbeat/tests/system/beat/beat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libbeat/tests/system/beat/beat.py b/libbeat/tests/system/beat/beat.py index 1c2db61108d3..4957242be2b8 100644 --- a/libbeat/tests/system/beat/beat.py +++ b/libbeat/tests/system/beat/beat.py @@ -321,7 +321,7 @@ def setUp(self): # running tests in parallel pass - def wait_until(self, cond, max_timeout=10, poll_interval=0.1, name="cond"): + def wait_until(self, cond, max_timeout=15, poll_interval=0.1, name="cond"): """ Waits until the cond function returns true, or until the max_timeout is reached. Calls the cond