[PlacementGroup]Fix bug that kill workers mistakenly when gcs restarts (#12568)

This commit is contained in:
fangfengbin
2020-12-03 17:50:48 +08:00
committed by GitHub
parent 7c58a85fed
commit ff34563539
3 changed files with 10 additions and 5 deletions
+1 -1
View File
@@ -1249,7 +1249,7 @@ def test_create_placement_group_during_gcs_server_restart(
cluster.head_node.kill_gcs_server()
cluster.head_node.start_gcs_server()
for i in range(0, 10):
for i in range(0, 100):
ray.get(placement_groups[i].ready())