ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject [05/14] incubator-ignite git commit: # sprint-2 fixed GridCacheAtomicTimeoutSelfTest.
Date Mon, 16 Mar 2015 12:56:02 GMT
# sprint-2 fixed GridCacheAtomicTimeoutSelfTest.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/57119b05
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/57119b05
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/57119b05

Branch: refs/heads/ignite-gg-9858
Commit: 57119b0587ad8da0a5b139debe1066e014166466
Parents: 4bb2b3f
Author: sboikov <sboikov@gridgain.com>
Authored: Mon Mar 16 12:08:30 2015 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Mon Mar 16 12:08:30 2015 +0300

----------------------------------------------------------------------
 .../org/apache/ignite/GridCacheAffinityBackupsSelfTest.java     | 2 ++
 .../cache/distributed/GridCacheAtomicTimeoutSelfTest.java       | 5 +++++
 2 files changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/57119b05/modules/core/src/test/java/org/apache/ignite/GridCacheAffinityBackupsSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/GridCacheAffinityBackupsSelfTest.java
b/modules/core/src/test/java/org/apache/ignite/GridCacheAffinityBackupsSelfTest.java
index 0758993..7d7cef8 100644
--- a/modules/core/src/test/java/org/apache/ignite/GridCacheAffinityBackupsSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/GridCacheAffinityBackupsSelfTest.java
@@ -72,6 +72,8 @@ public class GridCacheAffinityBackupsSelfTest extends GridCommonAbstractTest
{
     }
 
     /**
+     * @param backups Number of backups.
+     * @param func Affinity function.
      * @throws Exception If failed.
      */
     private void checkBackups(int backups, CacheAffinityFunction func) throws Exception {

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/57119b05/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheAtomicTimeoutSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheAtomicTimeoutSelfTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheAtomicTimeoutSelfTest.java
index 16b0515..0699ba2 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheAtomicTimeoutSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheAtomicTimeoutSelfTest.java
@@ -54,6 +54,10 @@ public class GridCacheAtomicTimeoutSelfTest extends GridCommonAbstractTest
{
     @Override protected IgniteConfiguration getConfiguration(String gridName) throws Exception
{
         IgniteConfiguration cfg = super.getConfiguration(gridName);
 
+        TestCommunicationSpi commSpi = new TestCommunicationSpi();
+
+        cfg.setCommunicationSpi(commSpi);
+
         CacheConfiguration ccfg = defaultCacheConfiguration();
 
         ccfg.setCacheMode(PARTITIONED);
@@ -75,6 +79,7 @@ public class GridCacheAtomicTimeoutSelfTest extends GridCommonAbstractTest
{
         startGrids(GRID_CNT);
     }
 
+    /** {@inheritDoc} */
     @Override protected void afterTestsStopped() throws Exception {
         stopAllGrids();
     }


Mime
View raw message