HADOOP-17537. ABFS: Correct assertion reversed in HADOOP-13327
Contributed Sumangala Patki.
This commit is contained in:
parent
1e32ab7d2f
commit
7f64030314
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user