Skip to content

Disable KubeRay tests on windows. - #23453

Merged
DmitriGekhtman merged 3 commits into
ray-project:masterfrom
DmitriGekhtman:dmitri/disable-on-windows
Mar 24, 2022
Merged

DmitriGekhtman merged 3 commits into
ray-project:masterfrom
DmitriGekhtman:dmitri/disable-on-windows

Conversation

@DmitriGekhtman

Copy link
Copy Markdown
Contributor

This PR disables KubeRay tests on windows, because they're not relevant there.

@simon-mo

Copy link
Copy Markdown
Contributor

hmm



DEBUG: C:/install/ray/bazel/ray_deps_setup.bzl:67:14: No implicit mirrors used because urls were explicitly provided
--
  | ERROR: no such target '//python/ray/tests:kuberay/test_autoscaling_e2e': target 'kuberay/test_autoscaling_e2e' not declared in package 'python/ray/tests' defined by C:/install/ray/python/ray/tests/BUILD


@mattip

mattip commented Mar 24, 2022 •

Copy link
Copy Markdown
Contributor

Bazel cannot skip single tests this way. I think you need to add a @pytest.mark.skipif() decorator to the test itself.

Edit: nope, something else is wrong

@mattip

mattip commented Mar 24, 2022

Copy link
Copy Markdown
Contributor

Maybe the slash / in the test name is confusing bazel? I see other test names in tests/BUILD avoid having a / even when the test file is in a subdirectory

@DmitriGekhtman

Copy link
Copy Markdown
Contributor Author

Bazel cannot skip single tests this way. I think you need to add a @pytest.mark.skipif() decorator to the test itself.

I'm going to try something of that nature.

@DmitriGekhtman

Copy link
Copy Markdown
Contributor Author

Actually, looks like I just forgot to merge master before pushing -- the test file and BUILD target were missing.

@DmitriGekhtman

Copy link
Copy Markdown
Contributor Author

That fixed it. Mac failures unrelated. Merging.

@DmitriGekhtman
DmitriGekhtman merged commit 9ce221f into ray-project:master Mar 24, 2022
@DmitriGekhtman
DmitriGekhtman deleted the dmitri/disable-on-windows branch March 24, 2022 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants