Skip to content

Commit 2323a71

Browse files
committed
Add retry to test_priority_used_in_transaction_error_events
1 parent 3383d29 commit 2323a71

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/agent_features/test_priority_sampling.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ def test_priority_used_in_transaction_error_events(first_transaction_saved):
6363
first_priority = 1 if first_transaction_saved else 0
6464
second_priority = 0 if first_transaction_saved else 1
6565

66+
@retry(attempts=5, wait=2) # This test is flakey so add a retry.
6667
@reset_core_stats_engine()
6768
def _test():
6869
with BackgroundTask(application(), name="T1") as txn:

0 commit comments

Comments
 (0)