HADOOP-17537. ABFS: Correct assertion reversed in HADOOP-13327

Contributed Sumangala Patki.
This commit is contained in:
sumangala-patki 2021-02-22 17:15:58 +05:30 committed by GitHub
parent 1e32ab7d2f
commit 7f64030314
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -326,7 +326,8 @@ public class ITestAzureBlobFileSystemFlush extends AbstractAbfsScaleTest {
try (FSDataOutputStream stream = getStreamAfterWrite(fs, testFilePath, buffer, true)) { try (FSDataOutputStream stream = getStreamAfterWrite(fs, testFilePath, buffer, true)) {
assertHasStreamCapabilities(stream, assertHasStreamCapabilities(stream,
StreamCapabilities.HFLUSH, StreamCapabilities.HFLUSH,
StreamCapabilities.HSYNC, StreamCapabilities.HSYNC);
assertLacksStreamCapabilities(stream,
StreamCapabilities.DROPBEHIND, StreamCapabilities.DROPBEHIND,
StreamCapabilities.READAHEAD, StreamCapabilities.READAHEAD,
StreamCapabilities.UNBUFFER); StreamCapabilities.UNBUFFER);