Skip to content

Commit 41ee582

Browse files
Ramkumar Sunderbabulmesnik
authored andcommitted
8341138: Rename jtreg property docker.support as container.support
Reviewed-by: sgehwolf, mseledtsov
1 parent 2e1c193 commit 41ee582

26 files changed

+54
-48
lines changed

test/hotspot/jtreg/TEST.ROOT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ requires.properties= \
8686
vm.compiler2.enabled \
8787
vm.musl \
8888
vm.flagless \
89-
docker.support \
89+
container.support \
9090
systemd.support \
9191
jdk.containerized
9292

test/hotspot/jtreg/containers/docker/DockerBasicTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -25,7 +25,7 @@
2525
/*
2626
* @test
2727
* @summary Basic (sanity) test for JDK-under-test inside a docker image.
28-
* @requires docker.support
28+
* @requires container.support
2929
* @library /test/lib
3030
* @modules java.base/jdk.internal.misc
3131
* java.management

test/hotspot/jtreg/containers/docker/ShareTmpDir.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -27,7 +27,7 @@
2727
* @bug 8286030
2828
* @key cgroups
2929
* @summary Test for hsperfdata file name conflict when two containers share the same /tmp directory
30-
* @requires docker.support
30+
* @requires container.support
3131
* @library /test/lib
3232
* @build WaitForFlagFile
3333
* @run driver ShareTmpDir

test/hotspot/jtreg/containers/docker/TestCPUAwareness.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -26,7 +26,7 @@
2626
* @test
2727
* @key cgroups
2828
* @summary Test JVM's CPU resource awareness when running inside docker container
29-
* @requires docker.support
29+
* @requires container.support
3030
* @library /test/lib
3131
* @modules java.base/jdk.internal.misc
3232
* java.base/jdk.internal.platform

test/hotspot/jtreg/containers/docker/TestCPUSets.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -26,7 +26,7 @@
2626
* @test
2727
* @key cgroups
2828
* @summary Test JVM's awareness of cpu sets (cpus and mems)
29-
* @requires docker.support
29+
* @requires container.support
3030
* @requires (os.arch != "s390x")
3131
* @library /test/lib
3232
* @modules java.base/jdk.internal.misc

test/hotspot/jtreg/containers/docker/TestContainerInfo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* @test
2828
* @summary Test container info for cgroup v2
2929
* @key cgroups
30-
* @requires docker.support
30+
* @requires container.support
3131
* @library /test/lib
3232
* @modules java.base/jdk.internal.misc
3333
* java.management

test/hotspot/jtreg/containers/docker/TestJFREvents.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* when run inside Docker container, such as available CPU and memory.
3030
* Also make sure that PIDs are based on value provided by container,
3131
* not by the host system.
32-
* @requires (docker.support & os.maxMemory >= 2g)
32+
* @requires (container.support & os.maxMemory >= 2g)
3333
* @modules java.base/jdk.internal.platform
3434
* @library /test/lib
3535
* @modules java.base/jdk.internal.misc

test/hotspot/jtreg/containers/docker/TestJFRNetworkEvents.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2019, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -27,7 +27,7 @@
2727
* @summary Test JFR network related events inside a container; make sure
2828
* the reported host ip and host name are correctly reported within
2929
* the container.
30-
* @requires docker.support
30+
* @requires container.support
3131
* @library /test/lib
3232
* @modules java.base/jdk.internal.misc
3333
* java.management

test/hotspot/jtreg/containers/docker/TestJFRWithJMX.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -25,7 +25,7 @@
2525
/*
2626
* @test
2727
* @summary Test JFR recording controlled via JMX across container boundary.
28-
* @requires docker.support
28+
* @requires container.support
2929
* @library /test/lib
3030
* @modules java.base/jdk.internal.misc
3131
* java.management

test/hotspot/jtreg/containers/docker/TestJcmd.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2021, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -26,7 +26,7 @@
2626
* @test
2727
* @summary Test JCMD across container boundary. The JCMD runs on a host system,
2828
* while sending commands to a JVM that runs inside a container.
29-
* @requires docker.support
29+
* @requires container.support
3030
* @requires vm.flagless
3131
* @modules java.base/jdk.internal.misc
3232
* java.management

0 commit comments

Comments
 (0)