Skip to content

Commit a65b39e

Browse files
committed
Disable ConnectionTest.testCellSetBug. Bug 3126553 logged.
git-svn-id: https://olap4j.svn.sourceforge.net/svnroot/olap4j/trunk@377 c6a108a4-781c-0410-a6c6-c2d559e19af0
1 parent 8b73854 commit a65b39e

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

src/org/olap4j/impl/Bug.java

+8
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,14 @@ public abstract class Bug {
5252
* is fixed.
5353
*/
5454
public static final boolean BugOlap4j3106220Fixed = false;
55+
56+
/**
57+
* Whether
58+
* <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=3126853&group_id=168953&atid=848534">bug 3126853,
59+
* "ConnectionTest.testCellSetBug hangs"</a>
60+
* is fixed.
61+
*/
62+
public static final boolean BugOlap4j3126853Fixed = false;
5563
}
5664

5765
// End Bug.java

testsrc/org/olap4j/ConnectionTest.java

+4
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
import junit.framework.AssertionFailedError;
1313
import junit.framework.TestCase;
14+
import org.olap4j.impl.Bug;
1415
import org.olap4j.impl.Olap4jUtil;
1516
import org.olap4j.driver.xmla.*;
1617
import org.olap4j.mdx.*;
@@ -2467,6 +2468,9 @@ public void testStatementTimeout() throws Throwable {
24672468
}
24682469

24692470
public void testCellSetBug() throws SQLException {
2471+
if (!Bug.BugOlap4j3126553Fixed) {
2472+
return;
2473+
}
24702474
connection = tester.createConnection();
24712475
OlapConnection olapConnection =
24722476
tester.getWrapper().unwrap(connection, OlapConnection.class);

0 commit comments

Comments
 (0)