HADOOP-12407. Test failing: hadoop.ipc.TestSaslRPC. (stevel)
This commit is contained in:
parent
c4128165b5
commit
c8fe31e03a
|
@ -606,6 +606,8 @@ Release 2.8.0 - UNRELEASED
|
|||
HADOOP-12388. Fix components' version information in the web page
|
||||
'About the Cluster'. (Jun Gong via zxu)
|
||||
|
||||
HADOOP-12407. Test failing: hadoop.ipc.TestSaslRPC. (stevel)
|
||||
|
||||
Release 2.7.2 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -558,9 +558,16 @@ public class TestSaslRPC {
|
|||
e = se;
|
||||
}
|
||||
assertNotNull(e);
|
||||
assertEquals("PLAIN auth failed: wrong password", e.getMessage());
|
||||
String message = e.getMessage();
|
||||
assertContains("PLAIN auth failed", message);
|
||||
assertContains("wrong password", message);
|
||||
}
|
||||
|
||||
private void assertContains(String expected, String text) {
|
||||
assertNotNull("null text", text );
|
||||
assertTrue("No {" + expected + "} in {" + text + "}",
|
||||
text.contains(expected));
|
||||
}
|
||||
|
||||
private void runNegotiation(CallbackHandler clientCbh,
|
||||
CallbackHandler serverCbh)
|
||||
|
|
Loading…
Reference in New Issue