Skip to content

Commit

Permalink
MONDRIAN: Disable CompatabilityTest.testNullCollation on Derby - beca…
Browse files Browse the repository at this point in the history
…use Derby doesn't support the SQL necessary to run the test.

[git-p4: depot-paths = "//open/mondrian/": change = 7945]
  • Loading branch information
julianhyde committed Oct 18, 2006
1 parent 5b8d042 commit c5ecd1d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions testsrc/main/mondrian/test/CompatibilityTest.java
Expand Up @@ -310,6 +310,12 @@ public void testNullNameColumn() {
* generate a modified ORDER BY clause.
*/
public void testNullCollation() {
if (getTestContext().getDialect().isDerby()) {
// Derby does not support expressions in the GROUP BY clause,
// therefore this testing strategy of using an expression for the
// store key won't work. Give the test a bye.
return;
}
final String cubeName = "Store_NullsCollation";
TestContext testContext = TestContext.create(
null,
Expand Down

0 comments on commit c5ecd1d

Please sign in to comment.