From a7c637d05b294013dae278aafc89a8c436b2c43c Mon Sep 17 00:00:00 2001 From: xuelei Date: Thu, 14 Nov 2013 16:08:28 -0800 Subject: [PATCH] 8014266: regression test AsyncSSLSocketClose.java time out. Reviewed-by: xuelei Contributed-by: Rajan Halade --- .../ssl/SSLSocketImpl/AsyncSSLSocketClose.java | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLSocketImpl/AsyncSSLSocketClose.java b/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLSocketImpl/AsyncSSLSocketClose.java index b65f8836b..8fb13107e 100644 --- a/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLSocketImpl/AsyncSSLSocketClose.java +++ b/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLSocketImpl/AsyncSSLSocketClose.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2007, 2013, 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 @@ -21,15 +21,21 @@ * questions. */ +// +// SunJSSE does not support dynamic system properties, no way to re-use +// system properties in samevm/agentvm mode. +// +// The test may timeout occasionally on heavy loaded system because +// there are lot of TLS transactions involved. Frequent timeout(s) should +// be analyzed further. +// + /* * @test * @bug 6447412 * @summary Issue with socket.close() for ssl sockets when poweroff on * other system * @run main/othervm AsyncSSLSocketClose - * - * SunJSSE does not support dynamic system properties, no way to re-use - * system properties in samevm/agentvm mode. */ import javax.net.ssl.*; -- GitLab