ignite-615-616 minor fix
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/22d59150 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/22d59150 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/22d59150 Branch: refs/heads/ignite-471 Commit: 22d5915014ac19940b77f4516bfb62e57daa3fd6 Parents: 98534aa Author: avinogradov <avinogra...@gridgain.com> Authored: Wed Apr 1 13:22:39 2015 +0300 Committer: avinogradov <avinogra...@gridgain.com> Committed: Wed Apr 1 13:22:39 2015 +0300 ---------------------------------------------------------------------- .../integration/IgniteCacheStoreNodeRestartAbstractTest.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/22d59150/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/integration/IgniteCacheStoreNodeRestartAbstractTest.java ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/integration/IgniteCacheStoreNodeRestartAbstractTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/integration/IgniteCacheStoreNodeRestartAbstractTest.java index a3e03ee..31e2206 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/integration/IgniteCacheStoreNodeRestartAbstractTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/integration/IgniteCacheStoreNodeRestartAbstractTest.java @@ -27,7 +27,6 @@ import java.io.*; * */ public abstract class IgniteCacheStoreNodeRestartAbstractTest extends IgniteCacheAbstractTest { - /** */ protected static final String CACHE_NAME1 = "cache1"; @@ -67,7 +66,7 @@ public abstract class IgniteCacheStoreNodeRestartAbstractTest extends IgniteCach } /** - * returns Store. + * @returns Store. */ protected abstract CacheStore getStore(); @@ -76,10 +75,14 @@ public abstract class IgniteCacheStoreNodeRestartAbstractTest extends IgniteCach */ public void testMarshaller() throws Exception { grid(0).cache(CACHE_NAME1).put("key1", new UserObject("key1")); + stopGrid(0); + startGrid(1); + //Checking that marshaller works correct after all nodes was stopped. UserObject obj = grid(1).<Object, UserObject>cache(CACHE_NAME1).get("key1"); + assert obj.field.equals("key1"); }