Skip to content

Commit

Permalink
Change -no-start to --no-start due to changes in the cf cli [#154450469]
Browse files Browse the repository at this point in the history
Signed-off-by: Joseph Palermo <[email protected]>
  • Loading branch information
ndhanushkodi authored and jpalermo committed Jan 18, 2018
1 parent 96b020c commit 3462fad
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cf-mysql-service/failover/failover_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ var _ = Describe("CF MySQL Failover", func() {

var appClient = helpers.NewSinatraAppClient(helpers.TestConfig.AppURI(appName), serviceInstanceName, helpers.TestConfig.CFConfig.SkipSSLValidation)

Expect(cf.Cf("push", appName, "-m", "256M", "-p", sinatraPath, "-b", "ruby_buildpack", "-no-start").
Expect(cf.Cf("push", appName, "-m", "256M", "-p", sinatraPath, "-b", "ruby_buildpack", "--no-start").
Wait(helpers.TestContext.LongTimeout())).
To(Exit(0))

Expand Down
6 changes: 3 additions & 3 deletions cf-mysql-service/lifecycle/lifecycle_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ var _ = Describe("P-MySQL Lifecycle Tests", func() {
})

It("Allows users to create, bind, write to, read from, unbind, and destroy a service instance for the each plan", func() {
Expect(cf.Cf("push", appName, "-m", "256M", "-p", sinatraPath, "-b", "ruby_buildpack", "-d", helpers.TestConfig.CFConfig.AppsDomain, "-no-start").
Expect(cf.Cf("push", appName, "-m", "256M", "-p", sinatraPath, "-b", "ruby_buildpack", "-d", helpers.TestConfig.CFConfig.AppsDomain, "--no-start").
Wait(helpers.TestContext.LongTimeout())).
To(Exit(0))

Expand All @@ -102,8 +102,8 @@ var _ = Describe("P-MySQL Lifecycle Tests", func() {
os.MkdirAll(fmt.Sprintf("%s/build/libs/", springPath), 0700)
os.Link("/var/vcap/packages/acceptance-tests/cipher_finder/cipher_finder.jar", fmt.Sprintf("%s/build/libs/cipher_finder.jar", springPath))

// cf push cipher-finder -no-start
Expect(cf.Cf("push", appName, "-m", "1G", "-f", fmt.Sprintf("%s/manifest.yml", springPath), "-d", helpers.TestConfig.CFConfig.AppsDomain, "-no-start").
// cf push cipher-finder --no-start
Expect(cf.Cf("push", appName, "-m", "1G", "-f", fmt.Sprintf("%s/manifest.yml", springPath), "-d", helpers.TestConfig.CFConfig.AppsDomain, "--no-start").
Wait(helpers.TestContext.LongTimeout())).
To(Exit(0))

Expand Down
2 changes: 1 addition & 1 deletion cf-mysql-service/quota/quota_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ var _ = Describe("P-MySQL Service", func() {
plan = helpers.TestConfig.Plans[0]
appClient = helpers.NewSinatraAppClient(helpers.TestConfig.AppURI(appName), serviceInstanceName, helpers.TestConfig.CFConfig.SkipSSLValidation)

Expect(cf.Cf("push", appName, "-m", "256M", "-p", sinatraPath, "-b", "ruby_buildpack", "-no-start").Wait(helpers.TestContext.LongTimeout())).To(Exit(0))
Expect(cf.Cf("push", appName, "-m", "256M", "-p", sinatraPath, "-b", "ruby_buildpack", "--no-start").Wait(helpers.TestContext.LongTimeout())).To(Exit(0))
})

JustBeforeEach(func() {
Expand Down

0 comments on commit 3462fad

Please sign in to comment.