Skip to content

Commit ffd56df

Browse files
authored
Remove unnecessary call to delete all rules to reduce concurrent test flakiness (#374)
If two instances of tests were running on the same account in parallel, it's possible for delete all rules to collide with itself. We removed this previously for most of the other tests, one case of it appears to have been left in
1 parent 70d1472 commit ffd56df

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

test/unit/test_actions.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
def test_create_action(gl_experimental: ExperimentalApi):
99
# We first clear out any rules in case the account has any left over from a previous test
10-
gl_experimental.delete_all_rules()
1110
name = f"Test {datetime.utcnow()}"
1211
det = gl_experimental.get_or_create_detector(name, "test_query")
1312
rule = gl_experimental.create_rule(det, f"test_rule_{name}", "EMAIL", "test@example.com")

0 commit comments

Comments
 (0)