HADOOP-17136. ITestS3ADirectoryPerformance.testListOperations failing (#2153)

A regression caused by HADOOP-17022: the reduction in LIST calls broken an assertion.

Contributed by Mukund Thakur
This commit is contained in:
Mukund Thakur 2020-07-20 21:28:50 +05:30 committed by GitHub
parent 9f407bcc88
commit bb459d4dd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -114,7 +114,7 @@ public void testListOperations() throws Throwable {
listStatusCalls, listStatusCalls,
getFileStatusCalls); getFileStatusCalls);
if (!fs.hasMetadataStore()) { if (!fs.hasMetadataStore()) {
assertEquals(listRequests.toString(), 2, listRequests.diff()); assertEquals(listRequests.toString(), 1, listRequests.diff());
} }
reset(metadataRequests, reset(metadataRequests,
listRequests, listRequests,