Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add debug logging
  • Loading branch information
xqi-splunk committed Jun 18, 2025
commit 48be3aedb6fda4c9c4fcc21b441b4bb86fd02de0
2 changes: 1 addition & 1 deletion contentctl/objects/correlation_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -1026,7 +1026,7 @@
current_turn += 1

self.logger.info(
f"Skipping sleeping time for testing purposes"

Check failure on line 1029 in contentctl/objects/correlation_search.py

View workflow job for this annotation

GitHub Actions / lint

Ruff (F541)

contentctl/objects/correlation_search.py:1029:25: F541 f-string without any placeholders
)

# reset the result to None on each loop iteration
Expand All @@ -1041,7 +1041,7 @@
)
break

if result != None and result.status == TestResultStatus.FAIL:

Check failure on line 1044 in contentctl/objects/correlation_search.py

View workflow job for this annotation

GitHub Actions / lint

Ruff (E711)

contentctl/objects/correlation_search.py:1044:26: E711 Comparison to `None` should be `cond is not None`
elapsed = 0

for i in range(10):
Expand All @@ -1068,7 +1068,7 @@
message=f"TEST PASSED: Expected risk and/or notable events were created for: {self.name}"
)
self.logger.info(
f"Test passed in {i}th retry after {elapsed} seconds"
f"Test passed in {i}th retry after {elapsed} seconds for: {self.name}"
)
break

Expand Down
Loading