Skip to content
This repository was archived by the owner on Jul 28, 2020. It is now read-only.

Commit ca4d652

Browse files
Anthony Emengojoaopapereira
authored andcommitted
Add explicit 'deploy-service' command in acceptance test
Signed-off-by: Joao Pereira <[email protected]>
1 parent 563c81e commit ca4d652

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

acceptance/privileged/cfdev_lifecycle_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,10 @@ var _ = Describe("cfdev lifecycle", func() {
8484
Eventually(startSession.Exited, 2*time.Hour).Should(BeClosed())
8585
Expect(startSession.ExitCode()).To(BeZero())
8686

87+
By("deploy mysql service")
88+
serviceSession := cf.Cf("dev", "deploy-service", "mysql")
89+
Eventually(serviceSession.Exited, 20*time.Minute).Should(BeClosed())
90+
8791
By("waiting for cf router to listen")
8892
loginSession := cf.Cf("login", "-a", "https://api.dev.cfdev.sh", "--skip-ssl-validation", "-u", "admin", "-p", "admin", "-o", "cfdev-org", "-s", "cfdev-space")
8993
Eventually(loginSession).Should(gexec.Exit(0))

0 commit comments

Comments
 (0)