Skip to content

Commit fb3f929

Browse files
Bump app disk space in scaling integration tests
Signed-off-by: Nick Webb <[email protected]> Co-authored-by: Nick Webb <[email protected]>
1 parent f58097e commit fb3f929

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

integration/v7/isolated/scale_command_test.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -210,11 +210,11 @@ var _ = Describe("scale command", func() {
210210
})
211211

212212
When("Scaling the disk space", func() {
213-
It("scales disk to 92M", func() {
213+
It("scales disk to 512M", func() {
214214
buffer := NewBuffer()
215215
_, err := buffer.Write([]byte("y\n"))
216216
Expect(err).ToNot(HaveOccurred())
217-
session := helpers.CFWithStdin(buffer, "scale", appName, "-k", "92M")
217+
session := helpers.CFWithStdin(buffer, "scale", appName, "-k", "512M")
218218
Eventually(session).Should(Say(`Scaling app %s in org %s / space %s as %s\.\.\.`, appName, orgName, spaceName, userName))
219219
Eventually(session).Should(Say(`This will cause the app to restart\. Are you sure you want to scale %s\? \[yN\]:`, appName))
220220
Eventually(session).Should(Say(`Stopping app %s in org %s / space %s as %s\.\.\.`, appName, orgName, spaceName, userName))
@@ -230,12 +230,12 @@ var _ = Describe("scale command", func() {
230230
Expect(processSummary.Type).To(Equal("web"))
231231
Expect(processSummary.InstanceCount).To(MatchRegexp(`\d/1`))
232232
Expect(instanceSummary.Memory).To(MatchRegexp(`\d+(\.\d+)?[KMG]? of \d+[KMG]`))
233-
Expect(instanceSummary.Disk).To(MatchRegexp(`\d+(\.\d+)?[KMG]? of 92M`))
233+
Expect(instanceSummary.Disk).To(MatchRegexp(`\d+(\.\d+)?[KMG]? of 512M`))
234234
})
235235

236236
When("-f flag provided", func() {
237237
It("scales without prompt", func() {
238-
session := helpers.CF("scale", appName, "-k", "92M", "-f")
238+
session := helpers.CF("scale", appName, "-k", "512M", "-f")
239239
Eventually(session).Should(Say("Scaling app %s in org %s / space %s as %s...", appName, orgName, spaceName, userName))
240240
Eventually(session).Should(Exit(0))
241241

@@ -247,7 +247,7 @@ var _ = Describe("scale command", func() {
247247
Expect(processSummary.Type).To(Equal("web"))
248248
Expect(processSummary.InstanceCount).To(MatchRegexp(`\d/1`))
249249
Expect(instanceSummary.Memory).To(MatchRegexp(`\d+(\.\d+)?[KMG]? of \d+[KMG]`))
250-
Expect(instanceSummary.Disk).To(MatchRegexp(`\d+(\.\d+)?[KMG]? of 92M`))
250+
Expect(instanceSummary.Disk).To(MatchRegexp(`\d+(\.\d+)?[KMG]? of 512M`))
251251
})
252252
})
253253
})
@@ -289,7 +289,7 @@ var _ = Describe("scale command", func() {
289289
buffer := NewBuffer()
290290
_, err := buffer.Write([]byte("y\n"))
291291
Expect(err).ToNot(HaveOccurred())
292-
session := helpers.CFWithStdin(buffer, "scale", appName, "-i", "2", "-k", "120M", "-m", "60M")
292+
session := helpers.CFWithStdin(buffer, "scale", appName, "-i", "2", "-k", "512M", "-m", "60M")
293293
Eventually(session).Should(Say(`Scaling app %s in org %s / space %s as %s\.\.\.`, appName, orgName, spaceName, userName))
294294
Eventually(session).Should(Say(`This will cause the app to restart\. Are you sure you want to scale %s\? \[yN\]:`, appName))
295295
Eventually(session).Should(Say(`Stopping app %s in org %s / space %s as %s\.\.\.`, appName, orgName, spaceName, userName))
@@ -305,7 +305,7 @@ var _ = Describe("scale command", func() {
305305
Expect(processSummary.InstanceCount).To(MatchRegexp(`\d/2`))
306306
Expect(instanceSummary.State).To(MatchRegexp(`running|starting`))
307307
Expect(instanceSummary.Memory).To(MatchRegexp(`\d+(\.\d+)?[KMG]? of 60M`))
308-
Expect(instanceSummary.Disk).To(MatchRegexp(`\d+(\.\d+)?[KMG]? of 120M`))
308+
Expect(instanceSummary.Disk).To(MatchRegexp(`\d+(\.\d+)?[KMG]? of 512M`))
309309
})
310310
})
311311

0 commit comments

Comments
 (0)