Skip to content

Commit 8292192

Browse files
fix main
1 parent 6b138c0 commit 8292192

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestAzureBlobFileSystemMainOperation.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
import org.apache.hadoop.fs.FSMainOperationsBaseTest;
2222
import org.apache.hadoop.fs.FileSystem;
2323
import org.apache.hadoop.fs.azurebfs.contract.ABFSContractTestBinding;
24+
import org.junit.jupiter.api.AfterEach;
25+
import org.junit.jupiter.api.BeforeEach;
2426
import org.junit.jupiter.api.Disabled;
2527

2628
/**
@@ -41,12 +43,14 @@ public ITestAzureBlobFileSystemMainOperation () throws Exception {
4143
binding = new ABFSContractTestBinding(false);
4244
}
4345

46+
@BeforeEach
4447
@Override
4548
public void setUp() throws Exception {
4649
binding.setup();
4750
fSys = binding.getFileSystem();
4851
}
4952

53+
@AfterEach
5054
@Override
5155
public void tearDown() throws Exception {
5256
// Note: Because "tearDown()" is called during the testing,

0 commit comments

Comments
 (0)