Class TestOverwriteFileUnderConstruction
java.lang.Object
org.apache.hadoop.hbase.io.asyncfs.AsyncFSTestBase
org.apache.hadoop.hbase.io.asyncfs.TestOverwriteFileUnderConstruction
@Tag("org.apache.hadoop.hbase.testclassification.MiscTests") @Tag("org.apache.hadoop.hbase.testclassification.MediumTests")
public class TestOverwriteFileUnderConstruction
extends AsyncFSTestBase
Used to confirm that it is OK to overwrite a file which is being written currently.
-
Field Summary
FieldsFields inherited from class org.apache.hadoop.hbase.io.asyncfs.AsyncFSTestBase
CLUSTER, CLUSTER_TEST_DIR, UTIL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidsetUp()static voidtearDown()voidtestNotOverwrite(org.junit.jupiter.api.TestInfo testInfo) voidtestOverwrite(org.junit.jupiter.api.TestInfo testInfo) Methods inherited from class org.apache.hadoop.hbase.io.asyncfs.AsyncFSTestBase
setupClusterTestDir, shutdownMiniDFSCluster, startMiniDFSCluster
-
Field Details
-
FS
-
-
Constructor Details
-
TestOverwriteFileUnderConstruction
public TestOverwriteFileUnderConstruction()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
testNotOverwrite
- Throws:
IOException
-
testOverwrite
- Throws:
IOException
-