hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [hadoop] branch ozone-0.4 updated: HDDS-1087. Fix TestDefaultCertificateClient#testSignDataStream. Contributed by Xiaoyu Yao. (#596)
Date Wed, 13 Mar 2019 18:53:08 GMT
This is an automated email from the ASF dual-hosted git repository.

ajay pushed a commit to branch ozone-0.4
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/ozone-0.4 by this push:
     new eeb7d63  HDDS-1087. Fix TestDefaultCertificateClient#testSignDataStream. Contributed
by Xiaoyu Yao. (#596)
eeb7d63 is described below

commit eeb7d630465b565d75ead67126281c8d130c8d8d
Author: Xiaoyu Yao <xyao@apache.org>
AuthorDate: Wed Mar 13 11:50:53 2019 -0700

    HDDS-1087. Fix TestDefaultCertificateClient#testSignDataStream. Contributed by Xiaoyu
Yao. (#596)
    
    
    (cherry picked from commit 86d508c7c724bd31a81066126ffc675d36d9df0a)
---
 .../security/x509/certificate/client/TestDefaultCertificateClient.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hadoop-hdds/common/src/test/java/org/apache/hadoop/hdds/security/x509/certificate/client/TestDefaultCertificateClient.java
b/hadoop-hdds/common/src/test/java/org/apache/hadoop/hdds/security/x509/certificate/client/TestDefaultCertificateClient.java
index 61244f4..855c1cb 100644
--- a/hadoop-hdds/common/src/test/java/org/apache/hadoop/hdds/security/x509/certificate/client/TestDefaultCertificateClient.java
+++ b/hadoop-hdds/common/src/test/java/org/apache/hadoop/hdds/security/x509/certificate/client/TestDefaultCertificateClient.java
@@ -152,7 +152,7 @@ public class TestDefaultCertificateClient {
 
   @Test
   public void testSignDataStream() throws Exception {
-    String data = RandomStringUtils.random(100);
+    String data = RandomStringUtils.random(100, UTF);
     // Expect error when there is no private key to sign.
     LambdaTestUtils.intercept(IOException.class, "Error while " +
             "signing the stream",


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message