From 2a5807af833dea829907350630fe029c331ee960 Mon Sep 17 00:00:00 2001 From: pyth0n1c <87383215+pyth0n1c@users.noreply.github.com> Date: Tue, 27 Sep 2022 09:20:13 -0700 Subject: [PATCH] Fix infinite loop when baselines search fails even after tmax time --- bin/docker_detection_tester/modules/testing_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/docker_detection_tester/modules/testing_service.py b/bin/docker_detection_tester/modules/testing_service.py index d10614084d..7b36dc4bf8 100644 --- a/bin/docker_detection_tester/modules/testing_service.py +++ b/bin/docker_detection_tester/modules/testing_service.py @@ -130,7 +130,7 @@ def execute_test(splunk_ip:str, splunk_port:int, splunk_password:str, test:Test, #be waiting for data to be ingested for the baseline to fully run. However, we don't have the info #to fill in the rest of the fields, so we populate it like we populate the fields when there is a real exception test.result.exception = False - continue + else: #baselines all worked (if they exist) so run the search