mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00
[Test] skip flaky pg tests. (#15337)
This commit is contained in:
parent
df9329160e
commit
4dd4756c09
1 changed files with 9 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
import pytest
|
||||
import platform
|
||||
import os
|
||||
import sys
|
||||
import time
|
||||
|
@ -1178,6 +1179,8 @@ ray.shutdown()
|
|||
wait_for_condition(lambda: assert_num_cpus(num_nodes * num_cpu_per_node))
|
||||
|
||||
|
||||
@pytest.mark.skipif(
|
||||
platform.system() in ["Darwin"], reason="Failing on MacOS.")
|
||||
@pytest.mark.parametrize(
|
||||
"ray_start_cluster_head", [
|
||||
generate_system_config_map(
|
||||
|
@ -1216,6 +1219,8 @@ def test_create_placement_group_after_gcs_server_restart(
|
|||
assert table["state"] == "PENDING"
|
||||
|
||||
|
||||
@pytest.mark.skipif(
|
||||
platform.system() in ["Darwin"], reason="Failing on MacOS.")
|
||||
@pytest.mark.parametrize(
|
||||
"ray_start_cluster_head", [
|
||||
generate_system_config_map(
|
||||
|
@ -1240,6 +1245,8 @@ def test_create_actor_with_placement_group_after_gcs_server_restart(
|
|||
assert ray.get(actor_2.method.remote(1)) == 3
|
||||
|
||||
|
||||
@pytest.mark.skipif(
|
||||
platform.system() in ["Darwin"], reason="Failing on MacOS.")
|
||||
@pytest.mark.parametrize(
|
||||
"ray_start_cluster_head", [
|
||||
generate_system_config_map(
|
||||
|
@ -1265,6 +1272,8 @@ def test_create_placement_group_during_gcs_server_restart(
|
|||
ray.get(placement_groups[i].ready())
|
||||
|
||||
|
||||
@pytest.mark.skipif(
|
||||
platform.system() in ["Darwin"], reason="Failing on MacOS.")
|
||||
@pytest.mark.parametrize(
|
||||
"ray_start_cluster_head", [
|
||||
generate_system_config_map(
|
||||
|
|
Loading…
Add table
Reference in a new issue