Skip to content

Commit

Permalink
[flakey] Deflakey test_placement_group_failover (ray-project#43352)
Browse files Browse the repository at this point in the history
## Why are these changes needed?
The test is flakey because of the timeout. It seems that it needs more time than before. The fix simply increase the timeout.

## Related issue number
ray-project#37058

---------

Co-authored-by: Yi Cheng <[email protected]>
  • Loading branch information
fishbone and fishbone committed Mar 12, 2024
1 parent de5431e commit 2adca42
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/ray/tests/test_placement_group_failover.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@ def _check_actor_with_pg_is_ready():
except Exception:
return False

wait_for_condition(_check_actor_with_pg_is_ready, timeout=5, retry_interval_ms=1000)
wait_for_condition(
_check_actor_with_pg_is_ready, timeout=10, retry_interval_ms=1000
)


if __name__ == "__main__":
Expand Down

0 comments on commit 2adca42

Please sign in to comment.