From 25ac54a52eff0d5b8f4bee83b6f4471277a3ac61 Mon Sep 17 00:00:00 2001 From: Akira Ajisaka Date: Wed, 15 Feb 2017 01:45:56 +0900 Subject: [PATCH] HADOOP-14058. Fix NativeS3FileSystemContractBaseTest#testDirWithDifferentMarkersWorks. Contributed by Yiqun Lin. (cherry picked from commit b9f8491252f5a23a91a1d695d748556a0fd803ae) --- .../hadoop/fs/s3native/NativeS3FileSystemContractBaseTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3native/NativeS3FileSystemContractBaseTest.java b/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3native/NativeS3FileSystemContractBaseTest.java index 3b505157d2d..d303a92ccc9 100644 --- a/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3native/NativeS3FileSystemContractBaseTest.java +++ b/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3native/NativeS3FileSystemContractBaseTest.java @@ -85,7 +85,7 @@ public abstract class NativeS3FileSystemContractBaseTest public void testDirWithDifferentMarkersWorks() throws Exception { - for (int i = 0; i < 3; i++) { + for (int i = 0; i <= 3; i++) { String base = "test/hadoop" + i; Path path = path("/" + base);