PDA

View Full Version : [Mondrian] Mondrian regression suite



Julian Hyde
02-23-2007, 04:51 AM
_______________________________________________
Mondrian mailing list
Mondrian (AT) pentaho (DOT) org
http://lists.pentaho.org/mailman/listinfo/mondrian

John V. Sichi
02-23-2007, 04:51 AM
I noticed this today too...I'll try adding a cache flush at the start of
this test method, since otherwise the cache sometimes already has the
bad ordinals primed due to previous tests (since I set the new property
to false globally and only enable it for this test).

JVS

Julian Hyde wrote:
> John, can you look at testMemberOrdinalCaching:
>
> [java] 1)
> testMemberOrdinalCaching(mondrian.test.BasicQueryTest)junit.framework.ComparisonFailure:
> Expected:
> [java] Axis #0:
> [java] {}
> [java] Axis #1:
> [java] {[Measures].[o]}
> [java] Axis #2:
> [java] {[Customers].[All Customers].[USA].[WA].[Yakima].[Tracy
> Meyer]}
> [java] {[Customers].[All
> Customers].[USA].[WA].[Yakima].[Vanessa Thompson]}
> [java] {[Customers].[All Customers].[USA].[WA].[Yakima].[Velma
> Lykes]}
> [java] {[Customers].[All
> Customers].[USA].[WA].[Yakima].[William Battaglia]}
> [java] {[Customers].[All Customers].[USA].[WA].[Yakima].[Wilma
> Fink]}
> [java] Row #0: 0
> [java] Row #1: 0
> [java] Row #2: 0
> [java] Row #3: 0
> [java] Row #4: 0
>
> [java] Actual:
> [java] Axis #0:
> [java] {}
> [java] Axis #1:
> [java] {[Measures].[o]}
> [java] Axis #2:
> [java] {[Customers].[All
> Customers].[USA].[WA].[Yakima].[Vanessa Thompson]}
> [java] {[Customers].[All Customers].[USA].[WA].[Yakima].[Velma
> Lykes]}
> [java] {[Customers].[All
> Customers].[USA].[WA].[Yakima].[William Battaglia]}
> [java] {[Customers].[All Customers].[USA].[WA].[Yakima].[Wilma
> Fink]}
> [java] {[Customers].[All Customers].[USA].[WA].[Yakima].[Louis
> Gomez]}
> [java] Row #0: 0
> [java] Row #1: 0
> [java] Row #2: 0
> [java] Row #3: 0
> [java] Row #4: 0
>
> [java] Actual java:
> [java] fold(
> [java] "Axis #0:\n" +
> [java] "{}\n" +
> [java] "Axis #1:\n" +
> [java] "{[Measures].[o]}\n" +
> [java] "Axis #2:\n" +
> [java] "{[Customers].[All
> Customers].[USA].[WA].[Yakima].[Vanessa Thompson]}\n" +
> [java] "{[Customers].[All Customers].[USA].[WA].[Yakima].[Velma
> Lykes]}\n" +
> [java] "{[Customers].[All
> Customers].[USA].[WA].[Yakima].[William Battaglia]}\n" +
> [java] "{[Customers].[All Customers].[USA].[WA].[Yakima].[Wilma
> Fink]}\n" +
> [java] "{[Customers].[All Customers].[USA].[WA].[Yakima].[Louis
> Gomez]}\n" +
> [java] "Row #0: 0\n" +
> [java] "Row #1: 0\n" +
> [java] "Row #2: 0\n" +
> [java] "Row #3: 0\n" +
> [java] "Row #4: 0\n")
> [java] expected:<...Tracy Meyer]}
> [java] {[Customers].[All
> Customers].[USA].[WA].[Yakima].[Vanessa Thompson]}
> [java] {[Customers].[All Customers].[USA].[WA].[Yakima].[Velma
> Lykes]}
> [java] {[Customers].[All
> Customers].[USA].[WA].[Yakima].[William Battaglia]}
> [java] {[Customers].[All Customers].[USA].[WA].[Yakima].[Wilma
> Fink...> but was:<...Vanessa Thompson]}
> [java] {[Customers].[All Customers].[USA].[WA].[Yakima].[Velma
> Lykes]}
> [java] {[Customers].[All
> Customers].[USA].[WA].[Yakima].[William Battaglia]}
> [java] {[Customers].[All Customers].[USA].[WA].[Yakima].[Wilma
> Fink]}
> [java] {[Customers].[All Customers].[USA].[WA].[Yakima].[Louis
> Gomez...>
> [java] at
> mondrian.test.TestContext.assertEqualsVerbose(TestContext.java:623)
> [java] at
> mondrian.test.TestContext.assertEqualsVerbose(TestContext.java:591)
> [java] at
> mondrian.test.TestContext.assertQueryReturns(TestContext.java:577)
> [java] at
> mondrian.test.FoodMartTestCase.assertQueryReturns(FoodMartTestCase.java:128)
> [java] at
> mondrian.test.BasicQueryTest.tryMemberOrdinalCaching(BasicQueryTest.java:5242)
> [java] at
> mondrian.test.BasicQueryTest.testMemberOrdinalCaching(BasicQueryTest.java:5199)
> [java] at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [java] at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [java] at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [java] at
> mondrian.test.MondrianTestRunner$2.run(MondrianTestRunner.java:130)
> [java] at java.lang.Thread.run(Thread.java:534)
>
> Julian
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Mondrian mailing list
> Mondrian (AT) pentaho (DOT) org
> http://lists.pentaho.org/mailman/listinfo/mondrian

_______________________________________________
Mondrian mailing list
Mondrian (AT) pentaho (DOT) org
http://lists.pentaho.org/mailman/listinfo/mondrian