Skip to content
Snippets Groups Projects
Commit 0f8c9509 authored by Nikolay Stanchev's avatar Nikolay Stanchev
Browse files

Increased the timeframe given for a test to pass

parent e63f4198
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment