HADOOP-12407. Test failing: hadoop.ipc.TestSaslRPC. (stevel)
This commit is contained in:
parent
4992f075c8
commit
3f685cd571
|
@ -1115,6 +1115,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