8375999: com/sun/jndi/ldap/LdapPoolTimeoutTest.java fails sporadically on Windows

Reviewed-by: jpai, mbaesken
This commit is contained in:
Arno Zeller 2026-01-26 08:34:56 +00:00 committed by Jaikiran Pai
parent 38b66b1258
commit 90b5469253

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2021, 2025, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2021, 2026, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -131,6 +131,7 @@ public class LdapPoolTimeoutTest {
|| msg.contains("No route to host") || msg.contains("No route to host")
|| msg.contains("Timed out waiting for lock") || msg.contains("Timed out waiting for lock")
|| msg.contains("Connect timed out") || msg.contains("Connect timed out")
|| msg.contains("Connection timed out")
|| msg.contains("Timeout exceeded while waiting for a connection"))) { || msg.contains("Timeout exceeded while waiting for a connection"))) {
// got the expected exception // got the expected exception
System.out.println("Received expected NamingException with message: " + msg); System.out.println("Received expected NamingException with message: " + msg);