hehuiyuan edited a comment on pull request #15274:
URL: https://github.com/apache/flink/pull/15274#issuecomment-805673421


   > HiveCatalogFactoryTest
   
   Hi @lirui-apache  , is it ok?
   `
   
       @Test
       public void testCreateHiveCatalogWithIllegalHadoopConfDir() throws 
IOException {
           final String catalogName = "mycatalog";
   
           final String illegalHadoopConfDir = " " + 
tempFolder.newFolder().getAbsolutePath();
   
           try {
               final HiveCatalog hiveCatalog =
                       HiveTestUtils.createHiveCatalog(
                               catalogName, CONF_DIR.getPath(), 
illegalHadoopConfDir, null);
           } catch (Exception e) {
               assertEquals(e.getClass(), CatalogException.class);
           }
       }
   `


-- 
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]


Reply via email to