JDK 9 RFR of JDK-8149003: Mark more jdk_core tests as intermittently failing
Chris Hegarty
chris.hegarty at oracle.com
Thu Feb 4 06:24:36 UTC 2016
s/May/Amy ;-)
-Chris.
On 4 Feb 2016, at 06:23, Chris Hegarty <chris.hegarty at oracle.com> wrote:
> Seems reasonable to me May.
>
> -Chris.
>
> On 4 Feb 2016, at 06:22, Amy Lu <amy.lu at oracle.com> wrote:
>
>> java/net/NetworkInterface/NetworkInterfaceStreamTest.java
>> java/rmi/Naming/legalRegistryNames/LegalRegistryNames.java
>> java/rmi/Naming/DefaultRegistryPort.java
>> java/rmi/transport/closeServerSocket/CloseServerSocket.java
>>
>> Above tests are known to fail intermittently, this patch is to mark the test accordingly with keyword 'intermittent'.
>>
>> bug: https://bugs.openjdk.java.net/browse/JDK-8149003
>> webrev: http://cr.openjdk.java.net/~amlu/8149003/webrev.00/
>>
>> Thanks,
>> Amy
>>
>> --- old/test/java/net/NetworkInterface/NetworkInterfaceStreamTest.java 2016-02-04 14:13:21.000000000 +0800
>> +++ new/test/java/net/NetworkInterface/NetworkInterfaceStreamTest.java 2016-02-04 14:13:21.000000000 +0800
>> @@ -1,5 +1,5 @@
>> /*
>> - * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
>> + * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
>> * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
>> *
>> * This code is free software; you can redistribute it and/or modify it
>> @@ -28,6 +28,7 @@
>> * @build java.util.stream.OpTestCase
>> * @run testng/othervm NetworkInterfaceStreamTest
>> * @run testng/othervm -Djava.net.preferIPv4Stack=true NetworkInterfaceStreamTest
>> + * @key intermittent
>> */
>> import org.testng.annotations.Test;
>> --- old/test/java/rmi/Naming/DefaultRegistryPort.java 2016-02-04 14:13:22.000000000 +0800
>> +++ new/test/java/rmi/Naming/DefaultRegistryPort.java 2016-02-04 14:13:22.000000000 +0800
>> @@ -1,5 +1,5 @@
>> /*
>> - * Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved.
>> + * Copyright (c) 1999, 2016, Oracle and/or its affiliates. All rights reserved.
>> * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
>> *
>> * This code is free software; you can redistribute it and/or modify it
>> @@ -33,6 +33,7 @@
>> * java.rmi/sun.rmi.transport.tcp
>> * @build TestLibrary
>> * @run main/othervm DefaultRegistryPort
>> + * @key intermittent
>> */
>> /*
>> --- old/test/java/rmi/Naming/legalRegistryNames/LegalRegistryNames.java 2016-02-04 14:13:23.000000000 +0800
>> +++ new/test/java/rmi/Naming/legalRegistryNames/LegalRegistryNames.java 2016-02-04 14:13:23.000000000 +0800
>> @@ -1,5 +1,5 @@
>> /*
>> - * Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved.
>> + * Copyright (c) 1999, 2016, Oracle and/or its affiliates. All rights reserved.
>> * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
>> *
>> * This code is free software; you can redistribute it and/or modify it
>> @@ -33,6 +33,7 @@
>> * java.rmi/sun.rmi.transport.tcp
>> * @build TestLibrary Legal LegalRegistryNames_Stub
>> * @run main/othervm LegalRegistryNames
>> + * @key intermittent
>> */
>> import java.net.InetAddress;
>> --- old/test/java/rmi/transport/closeServerSocket/CloseServerSocket.java 2016-02-04 14:13:23.000000000 +0800
>> +++ new/test/java/rmi/transport/closeServerSocket/CloseServerSocket.java 2016-02-04 14:13:23.000000000 +0800
>> @@ -1,5 +1,5 @@
>> /*
>> - * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
>> + * Copyright (c) 2005, 2016, Oracle and/or its affiliates. All rights reserved.
>> * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
>> *
>> * This code is free software; you can redistribute it and/or modify it
>> @@ -37,6 +37,7 @@
>> * java.rmi/sun.rmi.transport.tcp
>> * @build TestLibrary
>> * @run main/othervm CloseServerSocket
>> + * @key intermittent
>> */
>> import java.io.IOException;
>>
>>
>
More information about the core-libs-dev
mailing list