[ https://issues.apache.org/jira/browse/KYLIN-2426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kaige Liu updated KYLIN-2426: ----------------------------- Attachment: KYLIN-2426-fix-hardcode.patch Patch attached. Please help review. Thanks. > Tests will fail if env not satisfy hardcoded path in ITHDFSResourceStoreTest > ---------------------------------------------------------------------------- > > Key: KYLIN-2426 > URL: https://issues.apache.org/jira/browse/KYLIN-2426 > Project: Kylin > Issue Type: Bug > Reporter: Kaige Liu > Assignee: Kaige Liu > Attachments: KYLIN-2426-fix-hardcode.patch > > > There are some hardcodes in ITHDFSResourcesStoreTest which will fail if we > are not running IT in a sandbox. > {code} > public void testFullQalifiedName() throws Exception { > String oldUrl = kylinConfig.getMetadataUrl(); > String path = > "hdfs://sandbox.hortonworks.com:8020/kylin/kylin_metadata/metadata_test2"; > kylinConfig.setProperty("kylin.metadata.url", path + "@hdfs"); > HDFSResourceStore store = new HDFSResourceStore(kylinConfig); > ResourceStoreTest.testAStore(store); > kylinConfig.setProperty("kylin.metadata.url", oldUrl); > assertTrue(fs.exists(new Path(path))); > } > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)