Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: [Mondrian] JUnit test and Virtual Cubes problems

  1. #1
    Richard Emberson Guest

    Default [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

  2. #2
    Pappyn Bart Guest

    Default RE: [Mondrian] JUnit test and Virtual Cubes problems

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.