ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject incubator-ignite git commit: #IGNITE-96 Removed testAffinity
Date Wed, 11 Feb 2015 06:45:05 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-96 7096bf2d1 -> 6902a0304


#IGNITE-96 Removed testAffinity


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

Branch: refs/heads/ignite-96
Commit: 6902a030494b256dc9071c927a7fc2bc016dfa3b
Parents: 7096bf2
Author: nikolay_tikhonov <ntikhonov@gridgain.com>
Authored: Wed Feb 11 09:44:52 2015 +0300
Committer: nikolay_tikhonov <ntikhonov@gridgain.com>
Committed: Wed Feb 11 09:44:52 2015 +0300

----------------------------------------------------------------------
 .../marshaller/GridMarshallerAbstractTest.java  | 28 --------------------
 1 file changed, 28 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/6902a030/modules/core/src/test/java/org/apache/ignite/marshaller/GridMarshallerAbstractTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/marshaller/GridMarshallerAbstractTest.java
b/modules/core/src/test/java/org/apache/ignite/marshaller/GridMarshallerAbstractTest.java
index 1f61d40..14d504a 100644
--- a/modules/core/src/test/java/org/apache/ignite/marshaller/GridMarshallerAbstractTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/marshaller/GridMarshallerAbstractTest.java
@@ -803,34 +803,6 @@ public abstract class GridMarshallerAbstractTest extends GridCommonAbstractTest
     /**
      * @throws Exception If failed.
      */
-    public void testAffinity() throws Exception {
-        IgniteCache<String, String> cache = grid().jcache(CACHE_NAME);
-
-        CacheAffinity<String> affinity = affinity(cache);
-
-        cache.put("tst", "test");
-
-        GridMarshallerTestBean inBean = newTestBean(affinity);
-
-        byte[] buf = marshal(inBean);
-
-        GridMarshallerTestBean outBean = unmarshal(buf);
-
-        assert inBean.getObjectField() != null;
-        assert outBean.getObjectField() != null;
-
-        assert inBean.getObjectField().getClass().equals(GridCacheAffinityImpl.class);
-        assert outBean.getObjectField().getClass().equals(GridCacheAffinityImpl.class);
-
-        assert inBean != outBean;
-        assert inBean.equals(outBean);
-
-        outBean.checkNullResources();
-    }
-
-    /**
-     * @throws Exception If failed.
-     */
     public void testStreamer() throws Exception {
         IgniteStreamer streamer = grid().streamer(null);
 


Mime
View raw message