Skip to content

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

Open
@jiripetrlik

Description

@jiripetrlik

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions