File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
test/hotspot/jtreg/containers/docker Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -132,11 +132,11 @@ private static void checkContainerInfo(OutputAnalyzer out) throws Exception {
132
132
if (str .contains ("cgroupv2" )) {
133
133
out .shouldContain ("memory_swap_current_in_bytes" );
134
134
out .shouldContain ("memory_swap_max_limit_in_bytes" );
135
- for (String s : str .split (System .lineSeparator ())) {
136
- if (s .contains ("memory_swap_current_in_bytes" )) {
137
- s .shouldNotContain ("unlimited" );
138
- }
139
- }
135
+ for (String s : str .split (System .lineSeparator ())) {
136
+ if (s .contains ("memory_swap_current_in_bytes" )) {
137
+ s .shouldNotContain ("unlimited" );
138
+ }
139
+ }
140
140
} else {
141
141
throw new RuntimeException ("Output has to contain information about cgroupv1 or cgroupv2" );
142
142
}
You can’t perform that action at this time.
0 commit comments