8203691: [TESTBUG] Test /runtime/containers/cgroup/PlainRead.java fails

Backport-of: 2fa6eac464048176087092c91c8430781ab15301
This commit is contained in:
Sergey Bylokhov 2024-04-05 19:42:22 +00:00
parent a4b40e846b
commit 1db6a7606c

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -73,9 +73,6 @@ public class PlainRead {
if (wb.isContainerized()) { if (wb.isContainerized()) {
System.out.println("Inside a cgroup, testing..."); System.out.println("Inside a cgroup, testing...");
isContainer(output); isContainer(output);
} else {
System.out.println("Not in a cgroup, testing...");
isNotContainer(output);
} }
} }
} }