changeset 14395:26cff22692a5

8156512: Mark several tests from java/nio as intermittently failing Reviewed-by: alanb
author amlu
date Mon, 09 May 2016 18:06:57 +0800
parents 5d2b5a53001b
children 5f4aff1d2242
files test/java/nio/channels/AsynchronousSocketChannel/Basic.java test/java/nio/channels/FileChannel/InterruptMapDeadlock.java
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/nio/channels/AsynchronousSocketChannel/Basic.java	Mon May 09 10:28:24 2016 +0100
+++ b/test/java/nio/channels/AsynchronousSocketChannel/Basic.java	Mon May 09 18:06:57 2016 +0800
@@ -25,7 +25,7 @@
  * @bug 4607272 6842687 6878369 6944810 7023403
  * @summary Unit test for AsynchronousSocketChannel
  * @run main Basic -skipSlowConnectTest
- * @key randomness
+ * @key randomness intermittent
  */
 
 import java.nio.ByteBuffer;
--- a/test/java/nio/channels/FileChannel/InterruptMapDeadlock.java	Mon May 09 10:28:24 2016 +0100
+++ b/test/java/nio/channels/FileChannel/InterruptMapDeadlock.java	Mon May 09 18:06:57 2016 +0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2013, 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 8024833
+ * @key intermittent
  * @summary Tests interruption of threads mapping sections of a file channel in
  *   an attempt to deadlock due to nesting of begin calls.
  */