Skip to content

Commit

Permalink
Updated test file
Browse files Browse the repository at this point in the history
  • Loading branch information
amitkrout committed Jun 28, 2019
1 parent ff6e5a6 commit d3afa9e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/integration/java_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ var _ = Describe("odoJavaE2e", func() {
// Create a URL
helper.CmdShouldPass("odo", "url", "create", "gitrepo", "--port", "8080", "--context", context)
helper.CmdShouldPass("odo", "push", "-v", "4", "--context", context)
routeURL := helper.DetermineRouteURL("")
routeURL := helper.DetermineRouteURL(context)

// Ping said URL
helper.HttpWaitFor(routeURL, "Insult", 90, 1)
Expand All @@ -64,7 +64,7 @@ var _ = Describe("odoJavaE2e", func() {
// Create a URL
helper.CmdShouldPass("odo", "url", "create", "warfile", "--port", "8080", "--context", context)
helper.CmdShouldPass("odo", "push", "--context", context)
routeURL := helper.DetermineRouteURL("")
routeURL := helper.DetermineRouteURL(context)
// Ping said URL
helper.HttpWaitFor(routeURL, "Sample", 90, 1)
Expand All @@ -83,7 +83,7 @@ var _ = Describe("odoJavaE2e", func() {
// Create a URL
helper.CmdShouldPass("odo", "url", "create", "uberjar", "--port", "8080", "--context", context)
helper.CmdShouldPass("odo", "push", "--context", context)
routeURL := helper.DetermineRouteURL("")
routeURL := helper.DetermineRouteURL(context)

// Ping said URL
helper.HttpWaitFor(routeURL, "Hello World", 90, 1)
Expand All @@ -102,7 +102,7 @@ var _ = Describe("odoJavaE2e", func() {
// Create a URL
helper.CmdShouldPass("odo", "url", "create", "uberjaropenjdk", "--port", "8080", "--context", context)
helper.CmdShouldPass("odo", "push", "--context", context)
routeURL := helper.DetermineRouteURL("")
routeURL := helper.DetermineRouteURL(context)
// Ping said URL
helper.HttpWaitFor(routeURL, "HTTP Booster", 90, 1)
Expand Down

0 comments on commit d3afa9e

Please sign in to comment.