ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject [03/10] ignite git commit: ignite-169 GridSessionCheckpointSelfTest.testSharedFsCheckpoint test fixed
Date Mon, 15 Feb 2016 12:56:04 GMT
ignite-169 GridSessionCheckpointSelfTest.testSharedFsCheckpoint test fixed


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

Branch: refs/heads/ignite-1786
Commit: b2e510aa2ebf7384e40002b1e7bfad0e16bf9ab4
Parents: 3df8547
Author: agura <agura@gridgain.com>
Authored: Wed Feb 10 17:58:46 2016 +0300
Committer: agura <agura@gridgain.com>
Committed: Fri Feb 12 19:27:50 2016 +0300

----------------------------------------------------------------------
 .../ignite/session/GridSessionCheckpointAbstractSelfTest.java  | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/b2e510aa/modules/core/src/test/java/org/apache/ignite/session/GridSessionCheckpointAbstractSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/session/GridSessionCheckpointAbstractSelfTest.java
b/modules/core/src/test/java/org/apache/ignite/session/GridSessionCheckpointAbstractSelfTest.java
index c087d38..42e71f9 100644
--- a/modules/core/src/test/java/org/apache/ignite/session/GridSessionCheckpointAbstractSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/session/GridSessionCheckpointAbstractSelfTest.java
@@ -29,6 +29,7 @@ import org.apache.ignite.IgniteException;
 import org.apache.ignite.compute.ComputeJobAdapter;
 import org.apache.ignite.compute.ComputeJobResult;
 import org.apache.ignite.compute.ComputeTaskFuture;
+import org.apache.ignite.compute.ComputeTaskMapAsync;
 import org.apache.ignite.compute.ComputeTaskName;
 import org.apache.ignite.compute.ComputeTaskSession;
 import org.apache.ignite.compute.ComputeTaskSessionFullSupport;
@@ -36,11 +37,11 @@ import org.apache.ignite.compute.ComputeTaskSessionScope;
 import org.apache.ignite.compute.ComputeTaskSplitAdapter;
 import org.apache.ignite.configuration.IgniteConfiguration;
 import org.apache.ignite.internal.util.typedef.G;
-import org.apache.ignite.internal.util.typedef.internal.U;
 import org.apache.ignite.marshaller.Marshaller;
 import org.apache.ignite.resources.IgniteInstanceResource;
 import org.apache.ignite.resources.TaskSessionResource;
 import org.apache.ignite.spi.checkpoint.CheckpointSpi;
+import org.apache.ignite.testframework.junits.IgniteTestResources;
 import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
 import org.apache.ignite.testframework.junits.common.GridCommonTest;
 
@@ -83,7 +84,7 @@ public abstract class GridSessionCheckpointAbstractSelfTest extends GridCommonAb
 
         serState = spi.loadCheckpoint(globalKey);
 
-        Marshaller marshaller = getTestResources().getMarshaller();
+        Marshaller marshaller = IgniteTestResources.getMarshaller();
 
         assert marshaller != null;
 
@@ -173,6 +174,7 @@ public abstract class GridSessionCheckpointAbstractSelfTest extends GridCommonAb
     /** */
     @ComputeTaskName("GridCheckpointTestTask")
     @ComputeTaskSessionFullSupport
+    @ComputeTaskMapAsync
     private static class GridCheckpointTestTask extends ComputeTaskSplitAdapter<Object,
Object> {
         /** */
         @TaskSessionResource


Mime
View raw message