autumnust commented on a change in pull request #2917: [Gobblin-1077] Fix bug 
in HiveDataset.resolveConfig
URL: https://github.com/apache/incubator-gobblin/pull/2917#discussion_r390631589
 
 

 ##########
 File path: 
gobblin-data-management/src/test/java/org/apache/gobblin/data/management/copy/hive/HiveDatasetTest.java
 ##########
 @@ -162,5 +164,6 @@ public void testResolveConfig() throws IOException {
         "resPrefix_logicalDb_resPostfix", "Logical DB not resolved correctly");
     
Assert.assertEquals(resolvedConfig.getString(HiveDatasetVersionCleaner.REPLACEMENT_HIVE_TABLE_NAME_KEY),
         "resPrefix_logicalTable_resPostfix", "Logical Table not resolved 
correctly");
+    
Assert.assertEquals(resolvedConfig.getString(DUMMY_CONFIG_KEY_WITH_ROOT_VALUE),"testRoot");
 
 Review comment:
   OK I got it.  Can you use ConfigUtils.STRIP_SUFFIX to replace raw string 
"ROOT_VALUE" here, where there's a clear explanation on why this suffix is 
added initially. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to