From b3ac39345a8ef726d62f88f25aa1a1d43f9d8ff4 Mon Sep 17 00:00:00 2001 From: Peter Shipton Date: Wed, 22 Nov 2023 11:31:22 -0500 Subject: [PATCH] Ignore verbosegc files in TestVersionedStream Issue https://github.com/eclipse-openj9/openj9/issues/18512 Related to https://github.com/adoptium/aqa-tests/pull/4873 Signed-off-by: Peter Shipton --- .../java/util/jar/JarFile/mrjar/TestVersionedStream.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/test/jdk/java/util/jar/JarFile/mrjar/TestVersionedStream.java b/test/jdk/java/util/jar/JarFile/mrjar/TestVersionedStream.java index 2573f4b31d4..4481839f35e 100644 --- a/test/jdk/java/util/jar/JarFile/mrjar/TestVersionedStream.java +++ b/test/jdk/java/util/jar/JarFile/mrjar/TestVersionedStream.java @@ -21,6 +21,12 @@ * questions. */ +/* + * =========================================================================== + * (c) Copyright IBM Corp. 2023, 2023 All Rights Reserved + * =========================================================================== + */ + /* * @test * @bug 8163798 8189611 8211728 @@ -108,7 +114,7 @@ public TestVersionedStream() throws IOException { @AfterClass public void close() throws IOException { Files.walk(userdir, 1) - .filter(p -> !p.equals(userdir)) + .filter(p -> !p.equals(userdir) && !p.getFileName().toString().startsWith("verbosegc")) .forEach(p -> { try { if (Files.isDirectory(p)) {