From 7642ddcd6f532ba886af8adad698cadd5727d249 Mon Sep 17 00:00:00 2001 From: sumangala-patki <70206833+sumangala-patki@users.noreply.github.com> Date: Mon, 22 Feb 2021 17:15:58 +0530 Subject: [PATCH] HADOOP-17537. ABFS: Correct assertion reversed in HADOOP-13327 Contributed Sumangala Patki. --- .../hadoop/fs/azurebfs/ITestAzureBlobFileSystemFlush.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestAzureBlobFileSystemFlush.java b/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestAzureBlobFileSystemFlush.java index d8f0dc28dd5..ec332570602 100644 --- a/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestAzureBlobFileSystemFlush.java +++ b/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestAzureBlobFileSystemFlush.java @@ -326,7 +326,8 @@ public class ITestAzureBlobFileSystemFlush extends AbstractAbfsScaleTest { try (FSDataOutputStream stream = getStreamAfterWrite(fs, testFilePath, buffer, true)) { assertHasStreamCapabilities(stream, StreamCapabilities.HFLUSH, - StreamCapabilities.HSYNC, + StreamCapabilities.HSYNC); + assertLacksStreamCapabilities(stream, StreamCapabilities.DROPBEHIND, StreamCapabilities.READAHEAD, StreamCapabilities.UNBUFFER);