diff --git a/tests/integration/ray_test.go b/tests/integration/ray_test.go index 41a35581..3dc6f6fd 100644 --- a/tests/integration/ray_test.go +++ b/tests/integration/ray_test.go @@ -108,13 +108,16 @@ func TestRayCluster(t *testing.T) { test.Eventually(support.Route(test, dashboardRoute.Namespace, dashboardRoute.Name), support.TestTimeoutLong). Should(WithTransform(support.ConditionStatus(routev1.RouteAdmitted), Equal(corev1.ConditionTrue))) - // Retrieve dashboard hostname - dashboard, err := test.Client().Route().RouteV1().Routes(namespace.Name).Get(test.Ctx(), dashboardRoute.Name, metav1.GetOptions{}) - test.Expect(err).NotTo(HaveOccurred()) - dashboardHostname := dashboard.Status.Ingress[0].Host + /* + Should be uncommented when RHODS-12857 is fixed + // Retrieve dashboard hostname + dashboard, err := test.Client().Route().RouteV1().Routes(namespace.Name).Get(test.Ctx(), dashboardRoute.Name, metav1.GetOptions{}) + test.Expect(err).NotTo(HaveOccurred()) + dashboardHostname := dashboard.Status.Ingress[0].Host - rayClient := support.NewRayClusterClient(url.URL{Scheme: "http", Host: dashboardHostname}) - defer support.WriteRayJobLogs(test, rayClient, rayJob.Namespace, rayJob.Name) + rayClient := support.NewRayClusterClient(url.URL{Scheme: "http", Host: dashboardHostname}) + defer support.WriteRayJobLogs(test, rayClient, rayJob.Namespace, rayJob.Name) + */ test.T().Logf("Waiting for RayJob %s/%s to complete", rayJob.Namespace, rayJob.Name) // Will be removed when RHODS-12857 is fixed