This is an automated email from the ASF dual-hosted git repository.
vinoth pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hudi.git
The following commit(s) were added to refs/heads/master by this push:
new fb7fba3 [HUDI-646] fix failing test due to improper filesytem
cleanup (#1373)
fb7fba3 is described below
commit fb7fba365f89afaf97cc969ecc09f3bbfc4a5dbd
Author: vinoth chandar <[email protected]>
AuthorDate: Thu Mar 12 23:59:09 2020 -0700
[HUDI-646] fix failing test due to improper filesytem cleanup (#1373)
---
.../test/java/org/apache/hudi/client/TestUpdateSchemaEvolution.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git
a/hudi-client/src/test/java/org/apache/hudi/client/TestUpdateSchemaEvolution.java
b/hudi-client/src/test/java/org/apache/hudi/client/TestUpdateSchemaEvolution.java
index aad8edf..eb1fc74 100644
---
a/hudi-client/src/test/java/org/apache/hudi/client/TestUpdateSchemaEvolution.java
+++
b/hudi-client/src/test/java/org/apache/hudi/client/TestUpdateSchemaEvolution.java
@@ -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");