From 3462fad4f93672d0550654f69faa643b1b3ea317 Mon Sep 17 00:00:00 2001 From: Nitya Dhanushkodi Date: Thu, 18 Jan 2018 14:06:07 -0800 Subject: [PATCH] Change -no-start to --no-start due to changes in the cf cli [#154450469] Signed-off-by: Joseph Palermo --- cf-mysql-service/failover/failover_test.go | 2 +- cf-mysql-service/lifecycle/lifecycle_test.go | 6 +++--- cf-mysql-service/quota/quota_test.go | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cf-mysql-service/failover/failover_test.go b/cf-mysql-service/failover/failover_test.go index 811f8fc..b4002bf 100644 --- a/cf-mysql-service/failover/failover_test.go +++ b/cf-mysql-service/failover/failover_test.go @@ -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)) diff --git a/cf-mysql-service/lifecycle/lifecycle_test.go b/cf-mysql-service/lifecycle/lifecycle_test.go index 4092433..839743f 100644 --- a/cf-mysql-service/lifecycle/lifecycle_test.go +++ b/cf-mysql-service/lifecycle/lifecycle_test.go @@ -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)) @@ -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)) diff --git a/cf-mysql-service/quota/quota_test.go b/cf-mysql-service/quota/quota_test.go index b847fda..1889e2e 100644 --- a/cf-mysql-service/quota/quota_test.go +++ b/cf-mysql-service/quota/quota_test.go @@ -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() {