Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -389,8 +389,9 @@ public void run() {
fail("The LDAP query should have timed out!");
} catch (NamingException ne) {
LOG.debug("Got the exception while LDAP querying: ", ne);
assertExceptionContains("LDAP response read timed out, timeout used:" +
connectionTimeoutMs + "ms", ne);
assertExceptionContains("LDAP response read timed out, timeout used",
ne);
assertExceptionContains("" + connectionTimeoutMs, ne);
assertFalse(ne.getMessage().contains("remaining name"));
} finally {
finLatch.countDown();
Expand Down Expand Up @@ -444,8 +445,9 @@ public void run() {
fail("The LDAP query should have timed out!");
} catch (NamingException ne) {
LOG.debug("Got the exception while LDAP querying: ", ne);
assertExceptionContains("LDAP response read timed out, timeout used:" +
readTimeoutMs + "ms", ne);
assertExceptionContains("LDAP response read timed out, timeout used",
ne);
assertExceptionContains(""+ readTimeoutMs, ne);
assertExceptionContains("remaining name", ne);
} finally {
finLatch.countDown();
Expand Down