You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by ae...@apache.org on 2018/11/08 18:11:24 UTC
[12/29] hadoop git commit: HDDS-810. Move the "\r\n" at the chunk end
in TestSignedChunksInputStream#singlechunkwithoutend. Contributed by Chencan.
HDDS-810. Move the "\r\n" at the chunk end in TestSignedChunksInputStream#singlechunkwithoutend.
Contributed by Chencan.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/00a67f77
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/00a67f77
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/00a67f77
Branch: refs/heads/HDDS-4
Commit: 00a67f770e86fd30dacf2cfe97824b5bcc7a7376
Parents: f0ce072
Author: Anu Engineer <ae...@apache.org>
Authored: Tue Nov 6 07:59:40 2018 -0800
Committer: Anu Engineer <ae...@apache.org>
Committed: Tue Nov 6 10:42:19 2018 -0800
----------------------------------------------------------------------
.../org/apache/hadoop/ozone/s3/TestSignedChunksInputStream.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hadoop/blob/00a67f77/hadoop-ozone/s3gateway/src/test/java/org/apache/hadoop/ozone/s3/TestSignedChunksInputStream.java
----------------------------------------------------------------------
diff --git a/hadoop-ozone/s3gateway/src/test/java/org/apache/hadoop/ozone/s3/TestSignedChunksInputStream.java b/hadoop-ozone/s3gateway/src/test/java/org/apache/hadoop/ozone/s3/TestSignedChunksInputStream.java
index 27344e2..f1af7cb 100644
--- a/hadoop-ozone/s3gateway/src/test/java/org/apache/hadoop/ozone/s3/TestSignedChunksInputStream.java
+++ b/hadoop-ozone/s3gateway/src/test/java/org/apache/hadoop/ozone/s3/TestSignedChunksInputStream.java
@@ -62,7 +62,7 @@ public class TestSignedChunksInputStream {
InputStream is = fileContent("0A;chunk-signature"
+
"=23abb2bd920ddeeaac78a63ed808bc59fa6e7d3ef0e356474b82cdc2f8c93c40\r"
- + "\n1234567890\r\n");
+ + "\n1234567890");
String result = IOUtils.toString(is, Charset.forName("UTF-8"));
Assert.assertEquals("1234567890", result);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org