mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-24 05:40:39 +00:00
8030842: Intermittent test failure SSLSocketTimeoutNulls.java
Reviewed-by: weijun
This commit is contained in:
parent
167190a3d0
commit
a46e0545ea
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 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,6 +21,11 @@
|
||||
* questions.
|
||||
*/
|
||||
|
||||
//
|
||||
// SunJSSE does not support dynamic system properties, no way to re-use
|
||||
// system properties in samevm/agentvm mode.
|
||||
//
|
||||
|
||||
/*
|
||||
* @test
|
||||
* @bug 4456039
|
||||
@ -28,9 +33,6 @@
|
||||
* after timeout occurs. This bug was fixed as part of 4393337,
|
||||
* but this is another bug we want to check regressions against.
|
||||
* @run main/othervm/timeout=140 SSLSocketTimeoutNulls
|
||||
*
|
||||
* SunJSSE does not support dynamic system properties, no way to re-use
|
||||
* system properties in samevm/agentvm mode.
|
||||
* @author Brad Wetmore
|
||||
*/
|
||||
|
||||
@ -152,7 +154,7 @@ public class SSLSocketTimeoutNulls {
|
||||
caught = true;
|
||||
|
||||
// Try to read it again after it should be available.
|
||||
Thread.sleep(5000);
|
||||
Thread.sleep(6500);
|
||||
if (sslIS.read() == 85)
|
||||
System.out.println("Read the right value");
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user