JDK 9 RFR of JDK-8152749: Mark AdaptorCloseAndInterrupt.java and WatchService/Basic.java as intermittently failing
Below nio tests are known to fail intermittently: java/nio/channels/etc/AdaptorCloseAndInterrupt.java (JDK-8136899, JDK-8150811) java/nio/file/WatchService/Basic.java (JDK-7158947) This patch is to mark the test accordingly with keyword 'intermittent'. bug: https://bugs.openjdk.java.net/browse/JDK-8152749 webrev: http://cr.openjdk.java.net/~amlu/8152749/webrev.00/ Thanks, Amy --- old/test/java/nio/channels/etc/AdaptorCloseAndInterrupt.java 2016-03-25 16:46:48.000000000 +0800 +++ new/test/java/nio/channels/etc/AdaptorCloseAndInterrupt.java 2016-03-25 16:46:48.000000000 +0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 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 @@ -24,7 +24,7 @@ /* @test * @bug 7184932 * @summary Test asynchronous close and interrupt of timed socket adapter methods - * @key randomness + * @key randomness intermittent */ import java.io.*; --- old/test/java/nio/file/WatchService/Basic.java 2016-03-25 16:46:49.000000000 +0800 +++ new/test/java/nio/file/WatchService/Basic.java 2016-03-25 16:46:49.000000000 +0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2008, 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 @@ -23,6 +23,7 @@ /* @test * @bug 4313887 6838333 7017446 8011537 8042470 + * @key intermittent * @summary Unit test for java.nio.file.WatchService * @library .. * @run main Basic
On 25/03/2016 08:52, Amy Lu wrote:
Below nio tests are known to fail intermittently:
java/nio/channels/etc/AdaptorCloseAndInterrupt.java (JDK-8136899, JDK-8150811) java/nio/file/WatchService/Basic.java (JDK-7158947) This looks okay, alternative put JDK-7158947 on the exclude list until we get a Solaris patch for this.
-Alan.
On 3/25/16 6:49 PM, Alan Bateman wrote:
On 25/03/2016 08:52, Amy Lu wrote:
Below nio tests are known to fail intermittently:
java/nio/channels/etc/AdaptorCloseAndInterrupt.java (JDK-8136899, JDK-8150811) java/nio/file/WatchService/Basic.java (JDK-7158947) This looks okay, alternative put JDK-7158947 on the exclude list until we get a Solaris patch for this.
-Alan.
Please review the updated webrev. MayFlies.java (which tracked by the same bug as Basic.java) now problem listed. bugs: https://bugs.openjdk.java.net/browse/JDK-8152749 https://bugs.openjdk.java.net/browse/JDK-8152755 webrev: http://cr.openjdk.java.net/~amlu/8152749-8152755/webrev.01/ Thanks, Amy
On 25/03/2016 11:12, Amy Lu wrote:
Please review the updated webrev.
MayFlies.java (which tracked by the same bug as Basic.java) now problem listed.
bugs: https://bugs.openjdk.java.net/browse/JDK-8152749 https://bugs.openjdk.java.net/browse/JDK-8152755
webrev: http://cr.openjdk.java.net/~amlu/8152749-8152755/webrev.01/
Looks fine.
participants (2)
-
Alan Bateman
-
Amy Lu