Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hendrikmakait committed Oct 24, 2024
1 parent 9e8a0a4 commit db0e7a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions distributed/shuffle/tests/test_shuffle.py
Original file line number Diff line number Diff line change
Expand Up @@ -2744,7 +2744,7 @@ async def test_flaky_connect_fails_without_retry(c, s, a, b):
with mock.patch.object(a, "rpc", rpc):
with raises_with_cause(
expected_exception=RuntimeError,
match="P2P shuffling.*transfer",
match="P2P.*transfer",
expected_cause=OSError,
match_cause=None,
):
Expand Down Expand Up @@ -2899,7 +2899,7 @@ def data_gen():

with raises_with_cause(
RuntimeError,
r"shuffling \w* failed",
r"P2P \w* failed",
ValueError,
"meta",
):
Expand Down

0 comments on commit db0e7a3

Please sign in to comment.