Skip to content

Commit

Permalink
[core][tests only] Remove core_worker_test (ray-project#43220)
Browse files Browse the repository at this point in the history
This test is not maintained and no longer compiles.

See ray-project#43148.

Signed-off-by: Stephanie Wang <[email protected]>
  • Loading branch information
stephanie-wang authored Feb 21, 2024
1 parent 4a4bb68 commit de1eb62
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 1,379 deletions.
48 changes: 0 additions & 48 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,6 @@ ray_cc_library(
],
exclude = [
"src/ray/core_worker/**/*_test.cc",
"src/ray/core_worker/mock_worker.cc",
],
),
hdrs = glob([
Expand Down Expand Up @@ -775,53 +774,6 @@ ray_cc_library(
],
)

ray_cc_library(
name = "mock_worker_lib",
srcs = ["src/ray/core_worker/test/mock_worker.cc"],
hdrs = glob([
"src/ray/core_worker/test/*.h",
]),
deps = [
":core_worker_lib",
],
)

ray_cc_binary(
name = "mock_worker",
deps = [
":mock_worker_lib",
],
)

ray_cc_test(
name = "core_worker_test",
size = "small",
srcs = ["src/ray/core_worker/test/core_worker_test.cc"],
args = [
"$(location raylet)",
"$(location mock_worker)",
"$(location gcs_server)",
"$(location redis-cli)",
"$(location redis-server)",
],
data = [
"//:gcs_server",
"//:mock_worker",
"//:raylet",
"//:redis-cli",
"//:redis-server",
],
tags = ["team:core", "no_windows", "manual"],
deps = [
":core_worker_lib",
":gcs",
"//src/ray/protobuf:runtime_env_common_cc_proto",
"@com_google_absl//absl/container:flat_hash_map",
"@com_google_absl//absl/container:flat_hash_set",
"@com_google_googletest//:gtest",
],
)

ray_cc_test(
name = "core_worker_resubmit_queue_test",
size = "small",
Expand Down
1 change: 0 additions & 1 deletion ci/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ test_core() {
case "${OSTYPE}" in
msys)
args+=(
-//:core_worker_test
-//src/ray/util/tests:event_test
-//:gcs_server_rpc_test
-//src/ray/common/test:ray_syncer_test # TODO (iycheng): it's flaky on windows. Add it back once we figure out the cause
Expand Down
2 changes: 1 addition & 1 deletion ci/ray_ci/macos/macos_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ run_core_dashboard_test() {
bazel test --config=ci --dynamic_mode=off \
--test_env=CI $(./ci/run/bazel_export_options) --build_tests_only \
--test_tag_filters=-post_wheel_build -- \
//:all python/ray/dashboard/... -python/ray/serve/... -rllib/... -core_worker_test
//:all python/ray/dashboard/... -python/ray/serve/... -rllib/...
}

run_ray_cpp_and_java() {
Expand Down
3 changes: 0 additions & 3 deletions doc/source/ray-contribute/getting-involved.rst
Original file line number Diff line number Diff line change
Expand Up @@ -297,9 +297,6 @@ The `CI`_ test folder contains all integration test scripts and they
invoke other test scripts via ``pytest``, ``bazel``-based test or other bash
scripts. Some of the examples include:

* Raylet integration tests commands:
* ``bazel test //:core_worker_test``

* Bazel test command:
* ``bazel test --build_tests_only //:all``

Expand Down
Loading

0 comments on commit de1eb62

Please sign in to comment.