1
0

[HUDI-2880] Fixing loading of props from default dir (#4167)

* Fixing loading of props from default dir

* addressing comments
This commit is contained in:
Sivabalan Narayanan
2021-12-01 03:02:30 -05:00
committed by GitHub
parent 9b254b6fc5
commit f4c25ba3fd
2 changed files with 19 additions and 17 deletions

View File

@@ -145,7 +145,7 @@ public class TestDFSPropertiesConfiguration {
}
@Test
public void testLocalFileSystemLoading() {
public void testLocalFileSystemLoading() throws IOException {
DFSPropertiesConfiguration cfg = new DFSPropertiesConfiguration(dfs.getConf(), new Path(dfsBasePath + "/t1.props"));
cfg.addPropsFromFile(
@@ -156,8 +156,7 @@ public class TestDFSPropertiesConfiguration {
.getResource("props/test.properties")
.getPath()
)
)
);
));
TypedProperties props = cfg.getProps();