You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2017/02/21 14:43:25 UTC

ignite git commit: ignite-4654 fixed test

Repository: ignite
Updated Branches:
  refs/heads/master a71a23064 -> 5114d6226


ignite-4654 fixed test


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

Branch: refs/heads/master
Commit: 5114d62262d841397b41566fe8a8458a6579d3cd
Parents: a71a230
Author: Evgeny Stanilovskiy <es...@gridgain.com>
Authored: Tue Feb 21 17:43:17 2017 +0300
Committer: sboikov <sb...@gridgain.com>
Committed: Tue Feb 21 17:43:17 2017 +0300

----------------------------------------------------------------------
 .../apache/ignite/marshaller/GridMarshallerPerformanceTest.java  | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/5114d622/modules/core/src/test/java/org/apache/ignite/marshaller/GridMarshallerPerformanceTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/marshaller/GridMarshallerPerformanceTest.java b/modules/core/src/test/java/org/apache/ignite/marshaller/GridMarshallerPerformanceTest.java
index c2a6fe9..a9d0f66 100644
--- a/modules/core/src/test/java/org/apache/ignite/marshaller/GridMarshallerPerformanceTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/marshaller/GridMarshallerPerformanceTest.java
@@ -115,7 +115,11 @@ public class GridMarshallerPerformanceTest extends GridCommonAbstractTest {
     public void testGridMarshaller() throws Exception {
         final GridTuple<byte[]> tuple = new GridTuple<>();
 
+        // Test marshaller context.
+        final MarshallerContext marshCtx = new MarshallerContextTestImpl();
+
         final OptimizedMarshaller marsh = new OptimizedMarshaller();
+        marsh.setContext(marshCtx);
 
         IgniteInClosure<TestObject> writer = new CIX1<TestObject>() {
             @Override public void applyx(TestObject obj) throws IgniteCheckedException {