From 5912660c5d078d1e3eec1ee637f361e969b04c42 Mon Sep 17 00:00:00 2001 From: Peter Shipton Date: Wed, 22 Nov 2023 13:54:42 -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 09d683cef2b..6c817e2fcac 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 @@ -104,7 +110,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)) {