#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/sprint-1
Commit: 6902a030494b256dc9071c927a7fc2bc016dfa3b
Parents: 7096bf2
Author: nikolay_tikhonov <ntikho...@gridgain.com>
Authored: Wed Feb 11 09:44:52 2015 +0300
Committer: nikolay_tikhonov <ntikho...@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);
 

Reply via email to