HADOOP-11846 TestCertificateUtil.testCorruptPEM failing on Jenkins JDK8. (Larry McCay via stevel)
This commit is contained in:
parent
89ded89e86
commit
2c14690368
@ -52,7 +52,7 @@ public void testInvalidPEMWithHeaderAndFooter() throws Exception {
|
||||
|
||||
@Test
|
||||
public void testCorruptPEM() throws Exception {
|
||||
String pem = "LJMLJMMIICOjCCAaOgAwIBAgIJANXi/oWxvJNzMA0GCSqGSIb3DQEBBQUAMF8xCzAJBgNVBAYTAlVTMQ0w"
|
||||
String pem = "MIICOjCCAaOgAwIBAgIJANXi/oWxvJNzMA0GCSqGSIb3DQEBBQUAMF8xCzAJBgNVBAYTAlVTMQ0w"
|
||||
+ "CwYDVQQIEwRUZXN0MQ0wCwYDVQQHEwRUZXN0MQ8wDQYDVQQKEwZIYWRvb3AxDTALBgNVBAsTBFRl"
|
||||
+ "c3QxEjAQBgNVBAMTCWxvY2FsaG9zdDAeFw0xNTAxMDIyMTE5MjRaFw0xNjAxMDIyMTE5MjRaMF8x"
|
||||
+ "CzAJBgNVBAYTAlVTMQ0wCwYDVQQIEwRUZXN0MQ0wCwYDVQQHEwRUZXN0MQ8wDQYDVQQKEwZIYWRv"
|
||||
@ -62,7 +62,7 @@ public void testCorruptPEM() throws Exception {
|
||||
+ "7OPuuaHb25J8isiOyA3RiWuJGQlXTdkCAwEAATANBgkqhkiG9w0BAQUFAAOBgQAdRUyCUqE9sdim"
|
||||
+ "Fbll9BuZDKV16WXeWGq+kTd7ETe7l0fqXjq5EnrifOai0L/pXwVvS2jrFkKQRlRxRGUNaeEBZ2Wy"
|
||||
+ "9aTyR+HGHCfvwoCegc9rAVw/DLaRriSO/jnEXzYK6XLVKH+hx5UXrJ7Oyc7JjZUc3g9kCWORThCX"
|
||||
+ "Mzc1xA==";
|
||||
+ "Mzc1xA++";
|
||||
try {
|
||||
CertificateUtil.parseRSAPublicKey(pem);
|
||||
fail("Should not have thrown ServletException");
|
||||
|
@ -527,6 +527,9 @@ Release 2.8.0 - UNRELEASED
|
||||
HADOOP-11704. DelegationTokenAuthenticationFilter must pass ipaddress
|
||||
instead of hostname to ProxyUsers#authorize (Anubhav Dhoot via asuresh)
|
||||
|
||||
HADOOP-11846 TestCertificateUtil.testCorruptPEM failing on Jenkins JDK8.
|
||||
(Larry McCay via stevel)
|
||||
|
||||
Release 2.7.1 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
Loading…
Reference in New Issue
Block a user