RFR: JDK-8134458 Make sun/tools/jps tests non-concurrent with other tests
Staffan Larsen
staffan.larsen at oracle.com
Wed Aug 26 13:47:16 UTC 2015
Thanks!
> On 25 aug 2015, at 21:46, David Holmes <david.holmes at oracle.com> wrote:
>
> Seems reasonable.
>
> Thanks,
> David
>
> On 26/08/2015 9:26 AM, Staffan Larsen wrote:
>> A new test (tools/launcher/ArgFileSyntax.java) was recently added. One
>> of the things that test does is create command lines with newlines in
>> them. If this is run at the same time as the jps tests, the regexp in
>> the jps tests fails on the newlines in the output. A simple workaround
>> for this is to make sure the jps tests are not being run together with
>> the other tests. We do this by adding the test path to
>> exclusiveAccess.dirs in JTREG.ROOT.
>>
>> bug: https://bugs.openjdk.java.net/browse/JDK-8134458
>>
>> Thanks,
>> /Staffan
>>
>>
>> diff --git a/test/TEST.ROOT b/test/TEST.ROOT
>> --- a/test/TEST.ROOT
>> +++ b/test/TEST.ROOT
>> @@ -18,7 +18,7 @@
>> othervm.dirs=java/awt java/beans javax/accessibility javax/imageio
>> javax/sound javax/print javax/management com/sun/awt sun/awt sun/java2d
>> sun/pisces javax/xml/jaxp/testng/validation java/lang/ProcessHandle
>>
>> # Tests that cannot run concurrently
>> -exclusiveAccess.dirs=java/rmi/Naming java/util/prefs
>> sun/management/jmxremote sun/tools/jstatd sun/security/mscapi
>> java/util/stream javax/rmi
>> +exclusiveAccess.dirs=java/rmi/Naming java/util/prefs
>> sun/management/jmxremote sun/tools/jstatd sun/security/mscapi
>> java/util/stream javax/rmi sun/tools/jps
>>
>> # Group definitions
>> groups=TEST.groups [closed/TEST.groups]
More information about the serviceability-dev
mailing list