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): ...@@ -67,8 +67,8 @@ class TestStreamingAlerts(object):
if threads_queue.full(): if threads_queue.full():
break break
counter += time_delay # the counter tracks the time taken, for the rules under test usually a 20 seconds time frame is enough 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 >= 8*time_delay: if counter >= 12*time_delay:
for t in threads: # kill all running threads in case of test failure for t in threads: # kill all running threads in case of test failure
t.stop() t.stop()
break break
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment