ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject ignite git commit: ignite-1534 Fixed races in dynamic cache start
Date Fri, 02 Oct 2015 05:58:49 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-1534-1 89b7f442a -> 0d6a8026d


ignite-1534 Fixed races in dynamic cache start


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

Branch: refs/heads/ignite-1534-1
Commit: 0d6a8026d0cfc2b0dbb574283afbda0a46346850
Parents: 89b7f44
Author: sboikov <sboikov@gridgain.com>
Authored: Fri Oct 2 08:58:41 2015 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Fri Oct 2 08:58:41 2015 +0300

----------------------------------------------------------------------
 .../internal/processors/cache/IgniteCachePutAllRestartTest.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/0d6a8026/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCachePutAllRestartTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCachePutAllRestartTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCachePutAllRestartTest.java
index fc14085..ae99926 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCachePutAllRestartTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCachePutAllRestartTest.java
@@ -163,12 +163,12 @@ public class IgniteCachePutAllRestartTest extends GridCommonAbstractTest
{
 
             info("Running iteration on the node [idx=" + node + ", nodeId=" + ignite.cluster().localNode().id()
+ ']');
 
+            final IgniteCache<Integer, Integer> cache = ignite.cache(CACHE_NAME);
+
             IgniteInternalFuture<?> fut = GridTestUtils.runAsync(new Callable<Void>()
{
                 @Override public Void call() throws Exception {
                     Thread.currentThread().setName("put-thread");
 
-                    IgniteCache<Integer, Integer> cache = ignite.cache(CACHE_NAME);
-
                     Random rnd = new Random();
 
                     long endTime = System.currentTimeMillis() + 60_000;


Mime
View raw message