Shaofeng SHI created KYLIN-2178: ----------------------------------- Summary: 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)