1
0

[HUDI-761] Refactoring rollback and restore actions using the ActionExecutor abstraction (#1492)

- rollback() and restore() table level APIs introduced
- Restore is implemented by wrapping calls to rollback executor
- Existing tests transparently cover this, since its just a refactor
This commit is contained in:
vinoth chandar
2020-04-13 08:29:19 -07:00
committed by GitHub
parent 17bf930342
commit 661b0b3bab
20 changed files with 907 additions and 520 deletions

View File

@@ -27,6 +27,7 @@ import org.apache.hadoop.fs.FileStatus;
import org.apache.hadoop.fs.Path;
import org.junit.After;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import java.io.File;
@@ -115,8 +116,8 @@ public class TestInLineFileSystem {
}
}
// @Test
// Disabling flaky test for now https://issues.apache.org/jira/browse/HUDI-786
@Test
@Ignore // Disabling flaky test for now https://issues.apache.org/jira/browse/HUDI-786
public void testFileSystemApis() throws IOException {
OuterPathInfo outerPathInfo = generateOuterFileAndGetInfo(1000);
Path inlinePath = FileSystemTestUtils.getPhantomFile(outerPathInfo.outerPath, outerPathInfo.startOffset, outerPathInfo.length);