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

View File

@ -326,7 +326,8 @@ public void testStreamCapabilitiesWithFlushEnabled() throws Exception {
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);