HDDS-1087. Fix TestDefaultCertificateClient#testSignDataStream. Contributed by Xiaoyu Yao. (#596)

This commit is contained in:
Xiaoyu Yao 2019-03-13 11:50:53 -07:00 committed by Ajay Yadav
parent f74159c8fc
commit 86d508c7c7

View File

@ -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",