Skip to content

Commit

Permalink
Fixed test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
amitkrout committed Jul 24, 2019
1 parent 95b7f13 commit faed245
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/integration/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ var _ = Describe("odoServiceE2e", func() {
helper.CopyExample(filepath.Join("source", "openjdk-sb-postgresql"), context)

// Local config needs to be present in order to create service https://github.com/openshift/odo/issues/1602
helper.CmdShouldPass("odo", "create", "java", "sb-app")
helper.CmdShouldPass("odo", "create", "java", "sb-app", "--project", project)

helper.CmdShouldPass("odo", "service", "create", "dh-postgresql-apb", "--plan", "dev",
helper.CmdShouldPass("odo", "service", "create", "dh-postgresql-apb", "--project", project, "--plan", "dev",
"-p", "postgresql_user=luke", "-p", "postgresql_password=secret",
"-p", "postgresql_database=my_data", "-p", "postgresql_version=9.6")
ocArgs := []string{"get", "serviceinstance", "-o", "name"}
ocArgs := []string{"get", "serviceinstance", "-n", project, "-o", "name"}
helper.WaitForCmdOut("oc", ocArgs, 1, true, func(output string) bool {
return strings.Contains(output, "dh-postgresql-apb")
})
Expand Down

0 comments on commit faed245

Please sign in to comment.