diff --git a/test/extended/router/scoped.go b/test/extended/router/scoped.go index 9c27f2148916..b64021584685 100644 --- a/test/extended/router/scoped.go +++ b/test/extended/router/scoped.go @@ -79,12 +79,12 @@ var _ = g.Describe("[Conformance][networking][router] openshift routers", func() o.Expect(err).NotTo(o.HaveOccurred()) g.By("waiting for the valid route to respond") - err = waitForRouterOKResponseExec(ns, execPodName, routerURL, "first.example.com", changeTimeoutSeconds) + err = waitForRouterOKResponseExec(ns, execPodName, routerURL+"/Letter", "FIRST.example.com", changeTimeoutSeconds) o.Expect(err).NotTo(o.HaveOccurred()) for _, host := range []string{"second.example.com", "third.example.com"} { g.By(fmt.Sprintf("checking that %s does not match a route", host)) - err = expectRouteStatusCodeExec(ns, execPodName, routerURL, host, http.StatusServiceUnavailable) + err = expectRouteStatusCodeExec(ns, execPodName, routerURL+"/Letter", host, http.StatusServiceUnavailable) o.Expect(err).NotTo(o.HaveOccurred()) } }) @@ -128,18 +128,18 @@ var _ = g.Describe("[Conformance][networking][router] openshift routers", func() o.Expect(err).NotTo(o.HaveOccurred()) g.By("waiting for the valid route to respond") - err = waitForRouterOKResponseExec(ns, execPodName, routerURL, fmt.Sprintf(pattern, "route-1", ns), changeTimeoutSeconds) + err = waitForRouterOKResponseExec(ns, execPodName, routerURL+"/Letter", fmt.Sprintf(pattern, "route-1", ns), changeTimeoutSeconds) o.Expect(err).NotTo(o.HaveOccurred()) g.By("checking that the stored domain name does not match a route") host := "first.example.com" - err = expectRouteStatusCodeExec(ns, execPodName, routerURL, host, http.StatusServiceUnavailable) + err = expectRouteStatusCodeExec(ns, execPodName, routerURL+"/Letter", host, http.StatusServiceUnavailable) o.Expect(err).NotTo(o.HaveOccurred()) for _, host := range []string{"route-1", "route-2"} { host = fmt.Sprintf(pattern, host, ns) g.By(fmt.Sprintf("checking that %s matches a route", host)) - err = expectRouteStatusCodeExec(ns, execPodName, routerURL, host, http.StatusOK) + err = expectRouteStatusCodeExec(ns, execPodName, routerURL+"/Letter", host, http.StatusOK) o.Expect(err).NotTo(o.HaveOccurred()) } }) diff --git a/test/extended/testdata/bindata.go b/test/extended/testdata/bindata.go index 3e97745675fe..07b7c922102b 100644 --- a/test/extended/testdata/bindata.go +++ b/test/extended/testdata/bindata.go @@ -6760,6 +6760,7 @@ objects: select: first spec: host: first.example.com + path: /Letter to: name: endpoints ports: @@ -6773,6 +6774,7 @@ objects: select: second spec: host: second.example.com + path: /Letter to: name: endpoints ports: diff --git a/test/extended/testdata/scoped-router.yaml b/test/extended/testdata/scoped-router.yaml index ed915933e792..ceb25ec102e5 100644 --- a/test/extended/testdata/scoped-router.yaml +++ b/test/extended/testdata/scoped-router.yaml @@ -82,6 +82,7 @@ objects: select: first spec: host: first.example.com + path: /Letter to: name: endpoints ports: @@ -95,6 +96,7 @@ objects: select: second spec: host: second.example.com + path: /Letter to: name: endpoints ports: