You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Shaofeng SHI (JIRA)" <ji...@apache.org> on 2016/11/20 01:47:58 UTC
[jira] [Resolved] (KYLIN-2178) CubeDescTest is unstable
[ https://issues.apache.org/jira/browse/KYLIN-2178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shaofeng SHI resolved KYLIN-2178.
---------------------------------
Resolution: Fixed
This error only happens on JDK 1.8; Change to use TreeSet to sort the elements before outputing to the message.
> CubeDescTest is unstable
> ------------------------
>
> Key: KYLIN-2178
> URL: https://issues.apache.org/jira/browse/KYLIN-2178
> Project: Kylin
> Issue Type: Bug
> Components: Environment
> Affects Versions: v1.6.0
> Reporter: Shaofeng SHI
> Assignee: Shaofeng SHI
> Fix For: v1.6.0
>
>
> In 1.6.0-rc1 voting thead, dong and others report the "mvn test" is failed, while it got success on someone else.
> {code}
> Failed tests:
> CubeDescTest.testBadInit12
> Expected: (an instance of java.lang.IllegalStateException and exception
> with message a string containing "Aggregation group 0 a dimension exist in
> more than one hierarchy: [CATEG_LVL2_NAME, META_CATEG_NAME]")
> but: exception with message a string containing "Aggregation group 0 a
> dimension exist in more than one hierarchy: [CATEG_LVL2_NAME,
> META_CATEG_NAME]" message was "Aggregation group 0 a dimension exist in
> more than one hierarchy: [META_CATEG_NAME, CATEG_LVL2_NAME]"
> Stacktrace was: java.lang.IllegalStateException: Aggregation group 0 a
> dimension exist in more than one hierarchy: [META_CATEG_NAME,
> CATEG_LVL2_NAME]
> at org.apache.kylin.cube.model.CubeDesc.validateAggregationGroups(
> CubeDesc.java:643)
> at org.apache.kylin.cube.model.CubeDesc.init(CubeDesc.java:539)
> at org.apache.kylin.cube.CubeDescTest.testBadInit12(CubeDescTest.java:192)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:62)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)