Skip to content

Commit

Permalink
Disable ConnectionTest.testCellSetBug. Bug 3126553 logged.
Browse files Browse the repository at this point in the history
git-svn-id: https://olap4j.svn.sourceforge.net/svnroot/olap4j/trunk@377 c6a108a4-781c-0410-a6c6-c2d559e19af0
  • Loading branch information
julianhyde committed Dec 3, 2010
1 parent 8b73854 commit a65b39e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/org/olap4j/impl/Bug.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@ public abstract class Bug {
* is fixed.
*/
public static final boolean BugOlap4j3106220Fixed = false;

/**
* Whether
* <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=3126853&group_id=168953&atid=848534">bug 3126853,
* "ConnectionTest.testCellSetBug hangs"</a>
* is fixed.
*/
public static final boolean BugOlap4j3126853Fixed = false;
}

// End Bug.java
4 changes: 4 additions & 0 deletions testsrc/org/olap4j/ConnectionTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

import junit.framework.AssertionFailedError;
import junit.framework.TestCase;
import org.olap4j.impl.Bug;
import org.olap4j.impl.Olap4jUtil;
import org.olap4j.driver.xmla.*;
import org.olap4j.mdx.*;
Expand Down Expand Up @@ -2467,6 +2468,9 @@ public void testStatementTimeout() throws Throwable {
}

public void testCellSetBug() throws SQLException {
if (!Bug.BugOlap4j3126553Fixed) {
return;
}
connection = tester.createConnection();
OlapConnection olapConnection =
tester.getWrapper().unwrap(connection, OlapConnection.class);
Expand Down

0 comments on commit a65b39e

Please sign in to comment.