Skip to content

Commit

Permalink
MONDRIAN: disable some Cognos XMLA tests due to out-of-memory, hangs,…
Browse files Browse the repository at this point in the history
… and an Access bug.

[git-p4: depot-paths = "//open/mondrian/": change = 12428]
  • Loading branch information
julianhyde committed Mar 13, 2009
1 parent 02c03dc commit fe9673f
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions testsrc/main/mondrian/xmla/XmlaCognosTest.java
Expand Up @@ -13,6 +13,7 @@
import mondrian.test.DiffRepository;
import mondrian.test.TestContext;
import mondrian.util.Bug;
import mondrian.spi.Dialect;
import org.eigenbase.util.property.BooleanProperty;

/**
Expand Down Expand Up @@ -76,12 +77,14 @@ public void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_007()
executeMDX();
}

public void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_009()
// disabled because runs out of memory/hangs
public void _testCognosMDXSuiteConvertedAdventureWorksToFoodMart_009()
throws Exception {
executeMDX();
}

public void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_012()
// disabled because runs out of memory/hangs
public void _testCognosMDXSuiteConvertedAdventureWorksToFoodMart_012()
throws Exception {
executeMDX();
}
Expand All @@ -91,7 +94,8 @@ public void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_013()
executeMDX();
}

public void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_014()
// disabled because runs out of memory/hangs
public void _testCognosMDXSuiteConvertedAdventureWorksToFoodMart_014()
throws Exception {
executeMDX();
}
Expand Down Expand Up @@ -186,6 +190,15 @@ public void testWithSorting() throws Exception {
}

public void testWithFilter() throws Exception {
if (getTestContext().getDialect().getDatabaseProduct()
== Dialect.DatabaseProduct.ACCESS)
{
// Disabled because of bug on access: generates query with
// distinct-count even though access does not support it. Bug
// 2685902, "Mondrian generates invalid count distinct on access"
// logged.
return;
}
executeMDX();
}

Expand Down

0 comments on commit fe9673f

Please sign in to comment.