From 1b104b63a97ec947b34b85658153ab6c182cb56c Mon Sep 17 00:00:00 2001 From: Alexey Semenyuk Date: Mon, 18 Sep 2023 20:12:38 +0000 Subject: [PATCH] 8314909: tools/jpackage/windows/Win8282351Test.java fails with java.lang.AssertionError: Expected [0]. Actual [1618]: Reviewed-by: almatvee --- test/jdk/tools/jpackage/TEST.properties | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/jdk/tools/jpackage/TEST.properties b/test/jdk/tools/jpackage/TEST.properties index db9d15e9e78..ab013166faa 100644 --- a/test/jdk/tools/jpackage/TEST.properties +++ b/test/jdk/tools/jpackage/TEST.properties @@ -1,3 +1,12 @@ keys=jpackagePlatformPackage requires.properties=jpackage.test.SQETest maxOutputSize=2000000 + +# Run jpackage tests on windows platform sequentially. +# Having "share" directory in the list affects tests on other platforms. +# The better option would be: +# if (platfrom == windowws) { +# exclusiveAccess.dirs=share windows +# } +# but conditionals are not supported by jtreg configuration files. +exclusiveAccess.dirs=share windows