PDA

View Full Version : [Mondrian] JUnit test and Virtual Cubes problems



Richard Emberson
03-15-2007, 07:21 PM
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.
_______________________________________________
Mondrian mailing list
Mondrian (AT) pentaho (DOT) org
http://lists.pentaho.org/mailman/listinfo/mondrian

Pappyn Bart
03-20-2007, 05:10 AM
Richard,

All tests are running fine on my server. Can you tell me if you still
have problems and what the configuration is (os, mondrian properties).

Bart

-----Original Message-----
From: mondrian-bounces (AT) pentaho (DOT) org [mailto:mondrian-bounces (AT) pentaho (DOT) org]
On Behalf Of Richard Emberson
Sent: vrijdag 16 maart 2007 0:25
To: Mondrian developer mailing list
Subject: [Mondrian] JUnit test and Virtual Cubes problems

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.
_______________________________________________
Mondrian mailing list
Mondrian (AT) pentaho (DOT) org
http://lists.pentaho.org/mailman/listinfo/mondrian

______________________________________________________________________
This email has been scanned by the Email Security System.
______________________________________________________________________
_______________________________________________
Mondrian mailing list
Mondrian (AT) pentaho (DOT) org
http://lists.pentaho.org/mailman/listinfo/mondrian