1
0

[HUDI-646] fix failing test due to improper filesytem cleanup (#1373)

This commit is contained in:
vinoth chandar
2020-03-12 23:59:09 -07:00
committed by GitHub
parent c40a0d4e91
commit fb7fba365f

View File

@@ -40,6 +40,7 @@ import org.apache.parquet.avro.AvroReadSupport;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
//import org.junit.Test;
import java.util.ArrayList;
@@ -55,6 +56,7 @@ public class TestUpdateSchemaEvolution extends HoodieClientTestHarness {
initPath();
HoodieTestUtils.init(HoodieTestUtils.getDefaultHadoopConf(), basePath);
initSparkContexts("TestUpdateSchemaEvolution");
initFileSystem();
}
@After
@@ -62,7 +64,7 @@ public class TestUpdateSchemaEvolution extends HoodieClientTestHarness {
cleanupSparkContexts();
}
//@Test
@Test
public void testSchemaEvolutionOnUpdate() throws Exception {
// Create a bunch of records with a old version of schema
final HoodieWriteConfig config = makeHoodieClientConfig("/exampleSchema.txt");