From 0f8c950902748ccf02302640347ea7e2368d89ec Mon Sep 17 00:00:00 2001 From: Nikolay Stanchev <ns17@it-innovation.soton.ac.uk> Date: Thu, 22 Mar 2018 11:39:47 +0000 Subject: [PATCH] Increased the timeframe given for a test to pass --- test/streaming/test_streaming.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/streaming/test_streaming.py b/test/streaming/test_streaming.py index 0b0b695..15ecb68 100644 --- a/test/streaming/test_streaming.py +++ b/test/streaming/test_streaming.py @@ -67,8 +67,8 @@ class TestStreamingAlerts(object): if threads_queue.full(): break - counter += time_delay # the counter tracks the time taken, for the rules under test usually a 20 seconds time frame is enough - if counter >= 8*time_delay: + counter += time_delay # the counter tracks the time taken; for the rules under test usually a 30 seconds time frame is enough to trigger the alert + if counter >= 12*time_delay: for t in threads: # kill all running threads in case of test failure t.stop() break -- GitLab