[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-serviceability-dev
Subject:    Re: RFR: JDK-8134458 Make sun/tools/jps tests non-concurrent with other tests
From:       Staffan Larsen <staffan.larsen () oracle ! com>
Date:       2015-08-26 13:47:16
Message-ID: BD2BF8D3-B9C1-4F04-950E-0C57D478A320 () oracle ! com
[Download RAW message or body]

Thanks!

> On 25 aug 2015, at 21:46, David Holmes <david.holmes@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]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic