codeflare-sdk
codeflare-sdk copied to clipboard
Several unit tests fail when user is connected to Kubernetes cluster which is not accessible
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?