You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by st...@apache.org on 2021/02/22 12:38:17 UTC

[hadoop] branch branch-3.3 updated: HADOOP-17537. ABFS: Correct assertion reversed in HADOOP-13327

This is an automated email from the ASF dual-hosted git repository.

stevel pushed a commit to branch branch-3.3
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/branch-3.3 by this push:
     new 7642ddc  HADOOP-17537. ABFS: Correct assertion reversed in HADOOP-13327
7642ddc is described below

commit 7642ddcd6f532ba886af8adad698cadd5727d249
Author: sumangala-patki <70...@users.noreply.github.com>
AuthorDate: Mon Feb 22 17:15:58 2021 +0530

    HADOOP-17537. ABFS: Correct assertion reversed in HADOOP-13327
    
    
    Contributed Sumangala Patki.
---
 .../org/apache/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 d8f0dc2..ec33257 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);


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org