Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Several unit tests fail when user is connected to Kubernetes cluster which is not accessible #233

Open
jiripetrlik opened this issue Jul 19, 2023 · 0 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@jiripetrlik
Copy link
Contributor

Following unit tests fail when the user is connected to kubernetes cluster which is not accessible:

  • tests/unit_test.py::test_ray_details
  • tests/unit_test.py::test_cluster_status
  • tests/unit_test.py::test_wait_ready

Unit tests pass successfully when user is not connected to kubernetes cluster (there is no "~/.kube/config") or if the user is connected to working Kubernetes cluster.

@Maxusmusti @MichaelClifford
I'm not sure if this is expected behavior or not. Because if I'm connected to the cluster which works properly then tests pass. But if I understand correctly unit tests should never connect to existing cluster. What do you think?

@jiripetrlik jiripetrlik added the kind/bug Categorizes issue or PR as related to a bug. label Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

1 participant