[Mondrian] JUnit test and Virtual Cubes problems

Richard Emberson remberson at edgedynamics.com
Thu Mar 15 19:24:32 EDT 2007


Alert:

As of the current changelist 8863 (but most likely
before) if you include the tests suites:
     suite.addTestSuite(VirtualCubeTest.class);
and
     suite.addTestSuite(XmlaBasicTest.class);
in the Main suite() method, you can get errors in other
tests. The errors are intermittent but these test seem
to be common failures:

test7731(mondrian.test.CmdRunnerTest)
testQuery(mondrian.test.CmdRunnerTest)
testCalcMemberWithQuote(mondrian.test.TestCalculatedMembers)
testCalculatedMeasureAcrossCubes(mondrian.rolap.VirtualCubeTest)

I do not know why other than the fact that
VirtualCubeTest and XmlaBasicTest both
deal with virtual cubes and in RolapResult,
the cache clearing calls to the RolapCube
rcube.clearCachedAggregations();
and
rcube.checkAggregateModifications();
occur which take a different path through the
cache clearing code when the cube is virtual.


Richard

-- 
Quis custodiet ipsos custodes:
This email message is for the sole use of the intended recipient(s) and
may contain confidential information.  Any unauthorized review, use,
disclosure or distribution is prohibited.  If you are not the intended
recipient, please contact the sender by reply email and destroy all
copies of the original message.



More information about the Mondrian mailing list