From bb459d4dd607d3e4d259e3c8cc47b93062d78e4d Mon Sep 17 00:00:00 2001 From: Mukund Thakur Date: Mon, 20 Jul 2020 21:28:50 +0530 Subject: [PATCH] HADOOP-17136. ITestS3ADirectoryPerformance.testListOperations failing (#2153) A regression caused by HADOOP-17022: the reduction in LIST calls broken an assertion. Contributed by Mukund Thakur --- .../hadoop/fs/s3a/scale/ITestS3ADirectoryPerformance.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/scale/ITestS3ADirectoryPerformance.java b/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/scale/ITestS3ADirectoryPerformance.java index 03f1e220b5..a087dab6a5 100644 --- a/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/scale/ITestS3ADirectoryPerformance.java +++ b/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/scale/ITestS3ADirectoryPerformance.java @@ -114,7 +114,7 @@ public void testListOperations() throws Throwable { listStatusCalls, getFileStatusCalls); if (!fs.hasMetadataStore()) { - assertEquals(listRequests.toString(), 2, listRequests.diff()); + assertEquals(listRequests.toString(), 1, listRequests.diff()); } reset(metadataRequests, listRequests,