From 4f05e4f7708ac53972f73bee1ed3786d8afc1e03 Mon Sep 17 00:00:00 2001 From: "S.Vladykin" Date: Wed, 11 Feb 2015 13:54:06 +0300 Subject: [PATCH] ignite-sql-tests - enable tests --- .../IgniteCacheQueryMultiThreadedSelfTest.java | 16 ++++------------ .../IgniteCacheQuerySelfTestSuite.java | 12 ++++++------ 2 files changed, 10 insertions(+), 18 deletions(-) diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheQueryMultiThreadedSelfTest.java b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheQueryMultiThreadedSelfTest.java index a2e8e2e5484b5..88b5221621bbc 100644 --- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheQueryMultiThreadedSelfTest.java +++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheQueryMultiThreadedSelfTest.java @@ -240,14 +240,12 @@ private Set affinityNodes(Iterable> entries, } /** - * TODO - * * JUnit. * * @throws Exception If failed. */ @SuppressWarnings({"TooBroadScope"}) - public void _testMultiThreadedSwapUnswapString() throws Exception { + public void testMultiThreadedSwapUnswapString() throws Exception { int threadCnt = 150; final int keyCnt = 2000; final int valCnt = 10000; @@ -321,14 +319,12 @@ public void _testMultiThreadedSwapUnswapString() throws Exception { } /** - * TODO - * * JUnit. * * @throws Exception If failed. */ @SuppressWarnings({"TooBroadScope"}) - public void _testMultiThreadedSwapUnswapLong() throws Exception { + public void testMultiThreadedSwapUnswapLong() throws Exception { int threadCnt = 150; final int keyCnt = 2000; final int valCnt = 10000; @@ -401,14 +397,12 @@ public void _testMultiThreadedSwapUnswapLong() throws Exception { } /** - * TODO - * * JUnit. * * @throws Exception If failed. */ @SuppressWarnings({"TooBroadScope"}) - public void _testMultiThreadedSwapUnswapLongString() throws Exception { + public void testMultiThreadedSwapUnswapLongString() throws Exception { int threadCnt = 150; final int keyCnt = 2000; final int valCnt = 10000; @@ -481,12 +475,10 @@ public void _testMultiThreadedSwapUnswapLongString() throws Exception { } /** - * TODO - * * @throws Exception If failed. */ @SuppressWarnings({"TooBroadScope"}) - public void _testMultiThreadedSwapUnswapObject() throws Exception { + public void testMultiThreadedSwapUnswapObject() throws Exception { int threadCnt = 50; final int keyCnt = 4000; final int valCnt = 10000; diff --git a/modules/indexing/src/test/java/org/apache/ignite/testsuites/IgniteCacheQuerySelfTestSuite.java b/modules/indexing/src/test/java/org/apache/ignite/testsuites/IgniteCacheQuerySelfTestSuite.java index fda015fefe117..82c7099f7dfa6 100644 --- a/modules/indexing/src/test/java/org/apache/ignite/testsuites/IgniteCacheQuerySelfTestSuite.java +++ b/modules/indexing/src/test/java/org/apache/ignite/testsuites/IgniteCacheQuerySelfTestSuite.java @@ -55,12 +55,12 @@ public static TestSuite suite() throws Exception { suite.addTestSuite(IgniteCachePartitionedQueryMultiThreadedSelfTest.class); suite.addTestSuite(IgniteCacheQueryIndexSelfTest.class); suite.addTestSuite(GridCacheQueryInternalKeysSelfTest.class); -// suite.addTestSuite(IgniteCacheQueryMultiThreadedSelfTest.class); -// suite.addTestSuite(IgniteCacheQueryEvictsMultiThreadedSelfTest.class); -// suite.addTestSuite(IgniteCacheQueryOffheapMultiThreadedSelfTest.class); -// suite.addTestSuite(IgniteCacheQueryOffheapEvictsMultiThreadedSelfTest.class); -// suite.addTestSuite(IgniteCacheSqlQueryMultiThreadedSelfTest.class); -// suite.addTestSuite(IgniteCacheQueryNodeRestartSelfTest.class); + suite.addTestSuite(IgniteCacheQueryMultiThreadedSelfTest.class); + suite.addTestSuite(IgniteCacheQueryEvictsMultiThreadedSelfTest.class); + suite.addTestSuite(IgniteCacheQueryOffheapMultiThreadedSelfTest.class); + suite.addTestSuite(IgniteCacheQueryOffheapEvictsMultiThreadedSelfTest.class); + suite.addTestSuite(IgniteCacheSqlQueryMultiThreadedSelfTest.class); + suite.addTestSuite(IgniteCacheQueryNodeRestartSelfTest.class); suite.addTestSuite(GridCacheReduceQueryMultithreadedSelfTest.class); suite.addTestSuite(GridCacheCrossCacheQuerySelfTest.class);