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

Commit

Permalink
Add explicit 'deploy-service' command in acceptance test
Browse files Browse the repository at this point in the history
Signed-off-by: Joao Pereira <jdealmeidapereira@pivotal.io>
  • Loading branch information
Anthony Emengo authored and joaopapereira committed Jan 4, 2019
1 parent 563c81e commit ca4d652
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions acceptance/privileged/cfdev_lifecycle_test.go
Expand Up @@ -84,6 +84,10 @@ var _ = Describe("cfdev lifecycle", func() {
Eventually(startSession.Exited, 2*time.Hour).Should(BeClosed())
Expect(startSession.ExitCode()).To(BeZero())

By("deploy mysql service")
serviceSession := cf.Cf("dev", "deploy-service", "mysql")
Eventually(serviceSession.Exited, 20*time.Minute).Should(BeClosed())

By("waiting for cf router to listen")
loginSession := cf.Cf("login", "-a", "https://api.dev.cfdev.sh", "--skip-ssl-validation", "-u", "admin", "-p", "admin", "-o", "cfdev-org", "-s", "cfdev-space")
Eventually(loginSession).Should(gexec.Exit(0))
Expand Down

0 comments on commit ca4d652

Please sign in to comment.