Skip to content

Commit

Permalink
Merge branch 'KeenanHoffman-master'
Browse files Browse the repository at this point in the history
  • Loading branch information
ferozjilla committed Nov 1, 2019
2 parents 868f155 + 24bade4 commit c28abaf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/rabbitmq-smoke-tests/tests/helper/cf.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ func DeleteSecurityGroup(securityGroupName string) {
Expect(Cf("delete-security-group", securityGroupName, "-f")).To(gexec.Exit(0))
}

func PushAndBindApp(appName, serviceName, testAppPath string) string {
Expect(Cf("push", "-f", filepath.Join(testAppPath, "manifest.yml"), "--no-start", "--random-route", appName)).To(gexec.Exit(0))
func PushAndBindApp(appName, serviceName, testAppPath, appsDomain string) string {
Expect(Cf("push", "-f", filepath.Join(testAppPath, "manifest.yml"), "-d", appsDomain, "--no-start", "--random-route", appName)).To(gexec.Exit(0))
Expect(Cf("bind-service", appName, serviceName)).To(gexec.Exit(0))
Expect(Cf("start", appName)).To(gexec.Exit(0))
return LookupAppURL(appName)
Expand Down
2 changes: 1 addition & 1 deletion src/rabbitmq-smoke-tests/tests/smoke_tests_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ var _ = Describe("Smoke tests", func() {
}()

By("pushing and binding an app")
appURL := helper.PushAndBindApp(appName, serviceName, appPath)
appURL := helper.PushAndBindApp(appName, serviceName, appPath, testConfig.AppsDomain)

By("sending and receiving rabbit messages")
queue := fmt.Sprintf("%s-queue", appName)
Expand Down

0 comments on commit c28abaf

Please sign in to comment.