[
https://issues.apache.org/jira/browse/KYLIN-2426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kaige Liu reassigned KYLIN-2426:
---------------------------------
Assignee: Kaige Liu
> 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
>
> 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)