@@ -34,7 +34,7 @@ var _ = Describe("vary VM parameters: memory cpus, disk", Serial, Ordered, Label
3434 })
3535
3636 It ("start CRC" , func () {
37- // default values: "--memory", "9216 ", "--cpus", "4", "disk-size", "31"
37+ // default values: "--memory", "10752 ", "--cpus", "4", "disk-size", "31"
3838 if bundlePath == "" {
3939 Expect (RunCRCExpectSuccess ("start" , "--memory" , "12000" , "--cpus" , "5" , "--disk-size" , "40" , "-p" , pullSecretPath )).To (ContainSubstring ("Started the OpenShift cluster" ))
4040 } else {
@@ -118,8 +118,8 @@ var _ = Describe("vary VM parameters: memory cpus, disk", Serial, Ordered, Label
118118
119119 Describe ("use flawed values" , Serial , Ordered , func () {
120120
121- It ("start CRC with sub-minimum memory" , func () { // less than min = 9216
122- Expect (RunCRCExpectFail ("start" , "--memory" , "9000" )).To (ContainSubstring ("requires memory in MiB >= 9216 " ))
121+ It ("start CRC with sub-minimum memory" , func () { // less than min = 10752
122+ Expect (RunCRCExpectFail ("start" , "--memory" , "9000" )).To (ContainSubstring ("requires memory in MiB >= 10752 " ))
123123 })
124124 It ("start CRC with sub-minimum cpus" , func () { // fewer than min
125125 Expect (RunCRCExpectFail ("start" , "--cpus" , "3" )).To (ContainSubstring ("requires CPUs >= 4" ))
@@ -139,13 +139,13 @@ var _ = Describe("vary VM parameters: memory cpus, disk", Serial, Ordered, Label
139139 Describe ("use default values again" , Serial , Ordered , func () {
140140
141141 It ("start CRC" , func () {
142- Expect (RunCRCExpectSuccess ("start" )).To (ContainSubstring ("Started the OpenShift cluster" )) // default values: "--memory", "9216 ", "--cpus", "4", "disk-size", "31"
142+ Expect (RunCRCExpectSuccess ("start" )).To (ContainSubstring ("Started the OpenShift cluster" )) // default values: "--memory", "10752 ", "--cpus", "4", "disk-size", "31"
143143 })
144144
145145 It ("check VM's memory size" , func () {
146146 out , err := util .SendCommandToVM ("cat /proc/meminfo" )
147147 Expect (err ).NotTo (HaveOccurred ())
148- Expect (out ).Should (MatchRegexp (`MemTotal:[\s]*9 \d{6}` )) // there should be a check if cluster needs >9216MiB ; it isn't there and mem gets scaled down regardless
148+ Expect (out ).Should (MatchRegexp (`MemTotal:[\s]*1 \d{6}` )) // there should be a check if cluster needs >10752MiB ; it isn't there and mem gets scaled down regardless
149149 })
150150
151151 It ("check VM's number of cpus" , func () {
0 commit comments