[HUDI-2880] Fixing loading of props from default dir (#4167)
* Fixing loading of props from default dir * addressing comments
This commit is contained in:
committed by
GitHub
parent
9b254b6fc5
commit
f4c25ba3fd
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user