[HUDI-257] Fix Bloom Index unit-test failures
This commit is contained in:
committed by
Balaji Varadarajan
parent
96a46d8701
commit
2c6da09d9d
@@ -91,6 +91,7 @@ public class TestHoodieBloomIndex extends HoodieClientTestHarness {
|
||||
public void setUp() throws Exception {
|
||||
initSparkContexts("TestHoodieBloomIndex");
|
||||
initTempFolderAndPath();
|
||||
initFileSystem();
|
||||
HoodieTestUtils.init(jsc.hadoopConfiguration(), basePath);
|
||||
// We have some records to be tagged (two different partitions)
|
||||
schemaStr = FileIOUtils.readAsUTFString(getClass().getResourceAsStream("/exampleSchema.txt"));
|
||||
@@ -100,6 +101,7 @@ public class TestHoodieBloomIndex extends HoodieClientTestHarness {
|
||||
@After
|
||||
public void tearDown() throws Exception {
|
||||
cleanupSparkContexts();
|
||||
cleanupFileSystem();
|
||||
cleanupTempFolderAndPath();
|
||||
}
|
||||
|
||||
|
||||
@@ -75,6 +75,7 @@ public class TestCopyOnWriteTable extends HoodieClientTestHarness {
|
||||
initTempFolderAndPath();
|
||||
initTableType();
|
||||
initTestDataGenerator();
|
||||
initFileSystem();
|
||||
}
|
||||
|
||||
@After
|
||||
@@ -82,6 +83,7 @@ public class TestCopyOnWriteTable extends HoodieClientTestHarness {
|
||||
cleanupSparkContexts();
|
||||
cleanupTempFolderAndPath();
|
||||
cleanupTableType();
|
||||
cleanupFileSystem();
|
||||
cleanupTestDataGenerator();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user