mirror of
https://github.com/openjdk/jdk8u.git
synced 2025-12-13 04:09:24 -06:00
8203691: [TESTBUG] Test /runtime/containers/cgroup/PlainRead.java fails
Backport-of: 2fa6eac464048176087092c91c8430781ab15301
This commit is contained in:
parent
a4b40e846b
commit
1db6a7606c
@ -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);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user