@@ -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