8205467: javax/management/remote/mandatory/connection/MultiThreadDeadLockTest.java possible deadlock

Reviewed-by: phh
This commit is contained in:
Daniil Titov 2020-07-07 10:27:47 -07:00
parent 50e18e29e3
commit f243b281ea

View File

@ -125,7 +125,7 @@ public class MultiThreadDeadLockTest {
StateMachine.setState(CREATE_SOCKET);
print("Check whether the user thread gets free to call the mbean.");
if (!ut.waitDone(5000)) {
if (!ut.waitDone(Utils.adjustTimeout(5000))) {
throw new RuntimeException("Possible deadlock!");
}