[Check static addition] Fix TestFSMainOperationsWebHdfs.
Change-Id: Id3cd5178cd4b6a212a585f358a489cc50904b548
This commit is contained in:
parent
52a0ca301b
commit
28dbf672c5
|
@ -53,7 +53,7 @@ import org.junit.jupiter.api.BeforeAll;
|
|||
import org.junit.jupiter.api.Test;
|
||||
|
||||
public class TestFSMainOperationsWebHdfs extends FSMainOperationsBaseTest {
|
||||
{
|
||||
static {
|
||||
GenericTestUtils.setLogLevel(ExceptionHandler.LOG, Level.TRACE);
|
||||
}
|
||||
|
||||
|
@ -161,9 +161,9 @@ public class TestFSMainOperationsWebHdfs extends FSMainOperationsBaseTest {
|
|||
AppendTestUtil.checkFullFile(fSys, file, newLength, data, file.toString());
|
||||
|
||||
ContentSummary cs = fSys.getContentSummary(dir);
|
||||
assertEquals(cs.getSpaceConsumed(),
|
||||
newLength * repl, "Bad disk space usage");
|
||||
Assert.assertTrue(fSys.delete(dir, true), "Deleted");
|
||||
assertEquals(cs.getSpaceConsumed(),
|
||||
newLength * repl, "Bad disk space usage");
|
||||
assertTrue(fSys.delete(dir, true), "Deleted");
|
||||
}
|
||||
|
||||
// Test that WebHdfsFileSystem.jsonParse() closes the connection's input
|
||||
|
|
Loading…
Reference in New Issue