Skip to content

Commit

Permalink
kill test that may hang
Browse files Browse the repository at this point in the history
  • Loading branch information
sveitser committed Dec 16, 2024
1 parent f4da7fd commit 6482b18
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@ default-filter = 'not (test(slow_) | package(tests))'
retries = 2

[[profile.default.overrides]]
# This test is fast if it works (usually about 150ms) but sometimes hangs,
# especially when running concurrently with other tests. Kill it after a while
# and retry up to 10 times.
filter = 'test(test_process_client_handling_stream_subscribe_node_identity)'
# These tests are fast if they work (usually about 150ms) but sometimes they
# hang, especially when running Concurrently with other tests. Kill after a
# while and retry up to 10 times to avoid failing the test suite.
filter = """
test(test_process_client_handling_stream_subscribe_node_identity) |
test(test_process_client_handling_stream_subscribe_voters)
"""
slow-timeout = { period = "2s", terminate-after = 1 }
retries = 10

Expand Down

0 comments on commit 6482b18

Please sign in to comment.