8325384: sun/security/ssl/SSLSessionImpl/ResumptionUpdateBoundValues.java failing intermittently when main thread is a virtual thread
Reviewed-by: ssahoo, ascarpino
This commit is contained in:
parent
dc184f1099
commit
da9c23ace9
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2019, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2019, 2024, 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
|
||||
@ -26,7 +26,6 @@
|
||||
* @library /test/lib /javax/net/ssl/templates
|
||||
* @summary Test that a New Session Ticket will be generated when a
|
||||
* SSLSessionBindingListener is set (boundValues)
|
||||
* @key intermittent
|
||||
* @run main/othervm ResumptionUpdateBoundValues
|
||||
*/
|
||||
|
||||
@ -238,7 +237,7 @@ public class ResumptionUpdateBoundValues extends SSLContextTemplate {
|
||||
Thread t;
|
||||
while ((t = threads.take()) != Thread.currentThread()) {
|
||||
System.out.printf(" joining: %s%n", t);
|
||||
t.join(1000L);
|
||||
t.join(4000L);
|
||||
}
|
||||
serverReady = false;
|
||||
System.gc();
|
||||
|
Loading…
x
Reference in New Issue
Block a user