Skip to content

Commit

Permalink
[CI] Move the ownership of autoscaler tests to core (ray-project#41484)
Browse files Browse the repository at this point in the history
cc @rickyyx

Context: ray-project#41186 (comment)
  • Loading branch information
rkooo567 authored Dec 6, 2023
1 parent 66365fd commit ebe2756
Showing 3 changed files with 15 additions and 7 deletions.
1 change: 1 addition & 0 deletions ci/ray_ci/core.tests.yml
Original file line number Diff line number Diff line change
@@ -2,3 +2,4 @@ flaky_tests:
- //python/ray/tests:test_client_library_integration
- //src/ray/common/test:ray_syncer_test
- //:gcs_placement_group_manager_test
- //python/ray/tests:test_autoscaler
3 changes: 1 addition & 2 deletions ci/ray_ci/serverless.tests.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
flaky_tests:
- //python/ray/tests:test_autoscaler
flaky_tests: []
18 changes: 13 additions & 5 deletions python/ray/tests/BUILD
Original file line number Diff line number Diff line change
@@ -302,18 +302,26 @@ py_test_module_list(
"test_autoscaler_e2e.py",
],
size = "medium",
tags = ["exclusive", "medium_size_python_tests_k_to_z", "team:serverless"],
tags = ["exclusive", "medium_size_python_tests_k_to_z", "team:core"],
deps = ["//:ray_lib", ":conftest"],
)

py_test_module_list(
files = [
"test_autoscaler.py",
"test_batch_node_provider_unit.py",
"test_batch_node_provider_integration.py",
"test_autoscaler_drain_node_api.py",
"test_autoscaler_util.py",
"test_autoscaler_gcp.py",
],
size = "small",
tags = ["exclusive", "small_size_python_tests", "team:core"],
deps = ["//:ray_lib", ":conftest"],
)

py_test_module_list(
files = [
"test_batch_node_provider_unit.py",
"test_batch_node_provider_integration.py",
"test_cli_logger.py",
"test_client_metadata.py",
"test_client_terminate.py",
@@ -334,7 +342,7 @@ py_test(
name = "test_autoscaler_yaml",
size = "small",
srcs = ["test_autoscaler_yaml.py"],
tags = ["exclusive", "small_size_python_tests", "team:serverless"],
tags = ["exclusive", "small_size_python_tests", "team:core"],
deps = ["//:ray_lib", ":conftest"],
data = [
"additional_property.yaml",
@@ -483,7 +491,7 @@ py_test(
name = "test_autoscaler_aws",
size = "small",
srcs = ["aws/test_autoscaler_aws.py"],
tags = ["exclusive", "small_size_python_tests", "team:serverless"],
tags = ["exclusive", "small_size_python_tests", "team:core"],
deps = ["//:ray_lib", ":conftest"],
)

0 comments on commit ebe2756

Please sign in to comment.