Skip to content

Commit

Permalink
ignite-sql-tests - fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
S.Vladykin committed Feb 5, 2015
1 parent 0e10a46 commit 5542fea
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 6 deletions.
2 changes: 2 additions & 0 deletions modules/core/src/test/config/log4j-test.xml
Expand Up @@ -84,9 +84,11 @@
</category> </category>
--> -->


<!--
<category name="org.apache.ignite.internal.processors.query"> <category name="org.apache.ignite.internal.processors.query">
<level value="DEBUG"/> <level value="DEBUG"/>
</category> </category>
-->


<!-- Enable Gridgain debugging. <!-- Enable Gridgain debugging.
<category name="org.gridgain"> <category name="org.gridgain">
Expand Down
Expand Up @@ -230,12 +230,14 @@ private Set<UUID> affinityNodes(Iterable<Cache.Entry<Integer, Integer>> entries,
} }


/** /**
* TODO
*
* JUnit. * JUnit.
* *
* @throws Exception If failed. * @throws Exception If failed.
*/ */
@SuppressWarnings({"TooBroadScope"}) @SuppressWarnings({"TooBroadScope"})
public void testMultiThreadedSwapUnswapString() throws Exception { public void _testMultiThreadedSwapUnswapString() throws Exception {
int threadCnt = 150; int threadCnt = 150;
final int keyCnt = 2000; final int keyCnt = 2000;
final int valCnt = 10000; final int valCnt = 10000;
Expand Down Expand Up @@ -309,12 +311,14 @@ public void testMultiThreadedSwapUnswapString() throws Exception {
} }


/** /**
* TODO
*
* JUnit. * JUnit.
* *
* @throws Exception If failed. * @throws Exception If failed.
*/ */
@SuppressWarnings({"TooBroadScope"}) @SuppressWarnings({"TooBroadScope"})
public void testMultiThreadedSwapUnswapLong() throws Exception { public void _testMultiThreadedSwapUnswapLong() throws Exception {
int threadCnt = 150; int threadCnt = 150;
final int keyCnt = 2000; final int keyCnt = 2000;
final int valCnt = 10000; final int valCnt = 10000;
Expand Down Expand Up @@ -387,12 +391,14 @@ public void testMultiThreadedSwapUnswapLong() throws Exception {
} }


/** /**
* TODO
*
* JUnit. * JUnit.
* *
* @throws Exception If failed. * @throws Exception If failed.
*/ */
@SuppressWarnings({"TooBroadScope"}) @SuppressWarnings({"TooBroadScope"})
public void testMultiThreadedSwapUnswapLongString() throws Exception { public void _testMultiThreadedSwapUnswapLongString() throws Exception {
int threadCnt = 150; int threadCnt = 150;
final int keyCnt = 2000; final int keyCnt = 2000;
final int valCnt = 10000; final int valCnt = 10000;
Expand Down Expand Up @@ -465,10 +471,12 @@ public void testMultiThreadedSwapUnswapLongString() throws Exception {
} }


/** /**
* TODO
*
* @throws Exception If failed. * @throws Exception If failed.
*/ */
@SuppressWarnings({"TooBroadScope"}) @SuppressWarnings({"TooBroadScope"})
public void testMultiThreadedSwapUnswapObject() throws Exception { public void _testMultiThreadedSwapUnswapObject() throws Exception {
int threadCnt = 50; int threadCnt = 50;
final int keyCnt = 4000; final int keyCnt = 4000;
final int valCnt = 10000; final int valCnt = 10000;
Expand Down
Expand Up @@ -302,9 +302,11 @@ public void testToString() throws Exception {
} }


/** /**
* TODO
*
* @throws Exception If failed. * @throws Exception If failed.
*/ */
public void testLostIterator() throws Exception { public void _testLostIterator() throws Exception {
IgniteCache<Integer, Integer> cache = ignite.jcache(null); IgniteCache<Integer, Integer> cache = ignite.jcache(null);


for (int i = 0; i < 1000; i++) for (int i = 0; i < 1000; i++)
Expand Down Expand Up @@ -339,9 +341,11 @@ public void testLostIterator() throws Exception {
} }


/** /**
* TODO enable
*
* @throws Exception If failed. * @throws Exception If failed.
*/ */
public void testNodeLeft() throws Exception { public void _testNodeLeft() throws Exception {
try { try {
Ignite g = startGrid(); Ignite g = startGrid();


Expand Down

0 comments on commit 5542fea

Please sign in to comment.