You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ω(string(so)).Should(BeEmpty(), "stdout not empty for "+badFlags[0])
103
+
Ω(string(se)).Should(ContainSubstring("Bad initial value in -memoryInitials flag; clause 'heap:50' : value must be a percentage (e.g. 10%)"), "stderr incorrect for "+badFlags[0])
104
+
})
105
+
106
+
It("executes with error when initial too big", func() {
Ω(string(so)).Should(BeEmpty(), "stdout not empty for "+badFlags[0])
118
+
Ω(string(se)).Should(ContainSubstring("Initial value must be zero or more but no more than 100% in -memoryInitials flag; clause 'heap:101%'"), "stderr incorrect for "+badFlags[0])
119
+
})
120
+
121
+
It("executes with error when initial is negative", func() {
Ω(string(so)).Should(BeEmpty(), "stdout not empty for "+badFlags[0])
133
+
Ω(string(se)).Should(ContainSubstring("Initial value must be zero or more but no more than 100% in -memoryInitials flag; clause 'heap:-1%'"), "stderr incorrect for "+badFlags[0])
Ω(string(sErr)).Should(Equal("There is more than 3 times more spare native memory than the default so configured Java memory may be too small or available memory may be too large\n"), "stderr")
Ω(string(sErr)).Should(Equal("The allocated Java memory sizes total 2469478K which is less than 0.8 of the available memory, so configured Java memory sizes may be too small or available memory may be too large\n"), "stderr")
268
+
Ω(string(sErr)).Should(ContainSubstring("The allocated Java memory sizes total 2469478K which is less than 0.8 of the available memory, so configured Java memory sizes may be too small or available memory may be too large\n"), "stderr")
Ω(string(sErr)).Should(Equal("The specified value 2049M for memory type heap is close to the computed value 2G. Consider taking the default.\n"), "stderr")
0 commit comments