Skip to content

Commit bb459d4

Browse files
HADOOP-17136. ITestS3ADirectoryPerformance.testListOperations failing (#2153)
A regression caused by HADOOP-17022: the reduction in LIST calls broken an assertion. Contributed by Mukund Thakur
1 parent 9f407bc commit bb459d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/scale/ITestS3ADirectoryPerformance.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public void testListOperations() throws Throwable {
114114
listStatusCalls,
115115
getFileStatusCalls);
116116
if (!fs.hasMetadataStore()) {
117-
assertEquals(listRequests.toString(), 2, listRequests.diff());
117+
assertEquals(listRequests.toString(), 1, listRequests.diff());
118118
}
119119
reset(metadataRequests,
120120
listRequests,

0 commit comments

Comments
 (0)