diff --git a/tests/scalers/selenium/selenium_test.go b/tests/scalers/selenium/selenium_test.go index a5bb01bdd97..e540b1f74c8 100644 --- a/tests/scalers/selenium/selenium_test.go +++ b/tests/scalers/selenium/selenium_test.go @@ -34,7 +34,7 @@ var ( scaledObjectName = fmt.Sprintf("%s-so", testName) hubHost = fmt.Sprintf("%s:%s@selenium-hub.%s", hubBasicAuthUsername, hubBasicAuthPassword, testNamespace) hubPort = 4444 - hubGraphURL = fmt.Sprintf("http://%s:%d/graphql", hubHost, hubPort) + hubGraphURL = fmt.Sprintf("http://selenium-hub.%s:%d/graphql", testNamespace, hubPort) hubBasicAuthUsername = "admin" hubBasicAuthPassword = "admin" hubBasicAuthUsernameB64enc = "YWRtaW4="