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

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

Contributed by Mukund Thakur

Change-Id: Ib9725165906931634567fd1f62a81e3a6ea5620c
This commit is contained in:
Mukund Thakur 2020-07-20 21:28:50 +05:30 committed by Steve Loughran
parent 389d3034c6
commit 33f9ceb3cc
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ public class ITestS3ADirectoryPerformance extends S3AScaleTestBase {
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,