Package mondrian.test
Class ConcurrentMdxTest
- java.lang.Object
-
- TestCase
-
- mondrian.test.FoodMartTestCase
-
- mondrian.test.ConcurrentMdxTest
-
public class ConcurrentMdxTest extends FoodMartTestCase
Runs specified set of MDX queries concurrently. This Class is not added to the Main test suite. Purpose of this test is to simulate Concurrent access to Aggregation and data load. Simulation will be more effective if we run this single test again and again with a fresh connection.- Author:
- Thiyagu,Ajit
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class mondrian.test.FoodMartTestCase
FoodMartTestCase.QueryAndResult
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static FoodMartTestCase.QueryAndResult[]
mdxQueries
-
Fields inherited from class mondrian.test.FoodMartTestCase
propSaver
-
-
Constructor Summary
Constructors Constructor Description ConcurrentMdxTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
setUp()
protected void
tearDown()
void
testConcurrentValidatingQueriesInRandomOrder()
void
testFlushingDoesNotCauseDeadlock()
-
Methods inherited from class mondrian.test.FoodMartTestCase
allMember, assertAxisReturns, assertAxisThrows, assertBooleanExprReturns, assertExprReturns, assertExprThrows, assertQueriesReturnSimilarResults, assertQueryReturns, assertQueryThrows, assertSize, cubeByName, execute, executeExpr, executeQuery, executeSingletonAxis, genderMembersIncludingAll, getConnection, getDimensionWithName, getTestContext, isDefaultNullMemberRepresentation, isGroupingSetsSupported, member, productMembersPotScrubbersPotsAndPans, storeMembersCAAndOR, storeMembersUsaAndCanada, verifySameNativeAndNot, warehouseMembersCanadaMexicoUsa
-
-
-
-
Field Detail
-
mdxQueries
static final FoodMartTestCase.QueryAndResult[] mdxQueries
-
-
Method Detail
-
testConcurrentValidatingQueriesInRandomOrder
public void testConcurrentValidatingQueriesInRandomOrder()
-
testFlushingDoesNotCauseDeadlock
public void testFlushingDoesNotCauseDeadlock() throws Exception
- Throws:
Exception
-
tearDown
protected void tearDown() throws Exception
- Overrides:
tearDown
in classFoodMartTestCase
- Throws:
Exception
-
-