<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">This is weird because those tests actually work (and only depend on olap4j).<div>The changes were actually made in 469:&nbsp;<a href="http://olap4j.svn.sourceforge.net/viewvc/olap4j?view=revision&amp;revision=469">http://olap4j.svn.sourceforge.net/viewvc/olap4j?view=revision&amp;revision=469</a></div><div><br></div><div>The failing test seems to use a new version (after 469) for the test code but an old version (pre 469) for the actual query model code. There is now way the test case can output this failure post 469.</div><div><br><div>I had some issues with retrieving the latest olap4j-1.0.0-SNAPSHOT and deleted it in the maven repository manually to force a new retrieval from the pentaho repository.</div><div><br></div><div>olap4j passed this test without a problem in the latest build:&nbsp;<a href="http://ci.pentaho.com/job/olap4j/605/testReport/org.olap4j/OlapTest/testHierarchyConsistency/">http://ci.pentaho.com/job/olap4j/605/testReport/org.olap4j/OlapTest/testHierarchyConsistency/</a></div><div><br></div><div>So from my point of view there is nothing wrong with my code, but some problem with the olap4j.jar being used for the regression tests.</div><div><br></div><div>-Paul</div><div><br></div><div><br><div><div>On Aug 3, 2011, at 3:05 PM, Luc Boudreau wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Paul,<br><br>I believe your fix to the Query Model is causing failures in Mondrian's regression test suite. Would you mind giving it a look? <br><br>Thanks<br><br>Luc<br><br>ref: <a href="http://ci.pentaho.com/view/Analysis/job/mondrian/lastCompletedBuild/testReport/">http://ci.pentaho.com/view/Analysis/job/mondrian/lastCompletedBuild/testReport/</a><br>

<br><br><div class="gmail_quote">On Tue, Aug 2, 2011 at 12:33 PM,  <span dir="ltr">&lt;<a href="mailto:pstoellberger@users.sourceforge.net">pstoellberger@users.sourceforge.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; position: static; z-index: auto; ">

Revision: 468<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://olap4j.svn.sourceforge.net/olap4j/?rev=468&amp;view=rev" target="_blank">http://olap4j.svn.sourceforge.net/olap4j/?rev=468&amp;view=rev</a><br>
Author: &nbsp; pstoellberger<br>
Date: &nbsp; &nbsp; 2011-08-02 16:33:53 +0000 (Tue, 02 Aug 2011)<br>
<br>
Log Message:<br>
-----------<br>
Bug CalculatedMembers in virtual cube dont show up fixed - <a href="http://sourceforge.net/tracker/?func=detail&amp;aid=3312701&amp;group_id=168953&amp;atid=848534" target="_blank">http://sourceforge.net/tracker/?func=detail&amp;aid=3312701&amp;group_id=168953&amp;atid=848534</a>. enabled test case from now on<br>


<br>
Modified Paths:<br>
--------------<br>
 &nbsp; &nbsp;trunk/src/org/olap4j/impl/Bug.java<br>
 &nbsp; &nbsp;trunk/testsrc/org/olap4j/ConnectionTest.java<br>
<br>
Modified: trunk/src/org/olap4j/impl/Bug.java<br>
===================================================================<br>
--- trunk/src/org/olap4j/impl/Bug.java &nbsp;2011-08-02 16:21:51 UTC (rev 467)<br>
+++ trunk/src/org/olap4j/impl/Bug.java &nbsp;2011-08-02 16:33:53 UTC (rev 468)<br>
@@ -61,13 +61,6 @@<br>
 &nbsp; &nbsp; &nbsp;*/<br>
 &nbsp; &nbsp; public static final boolean BugOlap4j3126853Fixed = false;<br>
<br>
- &nbsp; &nbsp;/**<br>
- &nbsp; &nbsp; * Whether<br>
- &nbsp; &nbsp; * &lt;a href="<a href="http://sourceforge.net/tracker/?func=detail&amp;aid=3312701&amp;group_id=168953&amp;atid=848534" target="_blank">http://sourceforge.net/tracker/?func=detail&amp;aid=3312701&amp;group_id=168953&amp;atid=848534</a>"&gt;bug 3312701,<br>


- &nbsp; &nbsp; * "ConnectionTest.testVirtualCubeCmBug hangs"&lt;/a&gt;<br>
- &nbsp; &nbsp; * is fixed.<br>
- &nbsp; &nbsp; */<br>
- &nbsp; &nbsp;public static final boolean BugOlap4j3312701Fixed = false;<br>
&nbsp;}<br>
<br>
&nbsp;// End Bug.java<br>
<br>
Modified: trunk/testsrc/org/olap4j/ConnectionTest.java<br>
===================================================================<br>
--- trunk/testsrc/org/olap4j/ConnectionTest.java &nbsp; &nbsp; &nbsp; &nbsp;2011-08-02 16:21:51 UTC (rev 467)<br>
+++ trunk/testsrc/org/olap4j/ConnectionTest.java &nbsp; &nbsp; &nbsp; &nbsp;2011-08-02 16:33:53 UTC (rev 468)<br>
@@ -2076,9 +2076,6 @@<br>
 &nbsp; &nbsp; &nbsp;* Calculated Members"<br>
 &nbsp; &nbsp; &nbsp;*/<br>
 &nbsp; &nbsp; public void testVirtualCubeCmBug() throws Exception {<br>
- &nbsp; &nbsp; &nbsp; &nbsp;if (!Bug.BugOlap4j3312701Fixed) {<br>
- &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;return;<br>
- &nbsp; &nbsp; &nbsp; &nbsp;}<br>
 &nbsp; &nbsp; &nbsp; &nbsp; Class.forName(tester.getDriverClassName());<br>
 &nbsp; &nbsp; &nbsp; &nbsp; connection = tester.createConnection();<br>
 &nbsp; &nbsp; &nbsp; &nbsp; OlapConnection olapConnection =<br>
@@ -2104,6 +2101,7 @@<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Unit Sales",<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Profit",<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Profit Growth",<br>
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"Profit Per Unit Shipped",<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Store Invoice",<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Supply Time",<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Units Ordered",<br>
<br>
<br>
This was sent by the <a href="http://SourceForge.net">SourceForge.net</a> collaborative development platform, the world's largest Open Source development site.<br>
</blockquote></div><br>
</blockquote></div><br></div></div></body></html>