ignite-950-new - Fixing portable tests.
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/c7a96d0e Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/c7a96d0e Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/c7a96d0e Branch: refs/heads/ignite-1753-1282 Commit: c7a96d0e74f01ad917493a9893783114275e9ae8 Parents: 27f939d Author: Alexey Goncharuk <[email protected]> Authored: Wed Nov 4 15:42:11 2015 +0300 Committer: Alexey Goncharuk <[email protected]> Committed: Wed Nov 4 15:42:11 2015 +0300 ---------------------------------------------------------------------- .../ignite/internal/portable/BinaryFieldsAbstractSelfTest.java | 3 ++- .../internal/portable/PortableCompactOffsetsAbstractSelfTest.java | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/c7a96d0e/modules/core/src/test/java/org/apache/ignite/internal/portable/BinaryFieldsAbstractSelfTest.java ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/org/apache/ignite/internal/portable/BinaryFieldsAbstractSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/portable/BinaryFieldsAbstractSelfTest.java index 54e8fb6..1db3f0b 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/portable/BinaryFieldsAbstractSelfTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/portable/BinaryFieldsAbstractSelfTest.java @@ -17,6 +17,7 @@ package org.apache.ignite.internal.portable; +import org.apache.ignite.configuration.IgniteConfiguration; import org.apache.ignite.internal.util.IgniteUtils; import org.apache.ignite.internal.util.typedef.internal.U; import org.apache.ignite.marshaller.MarshallerContextTestImpl; @@ -59,7 +60,7 @@ public abstract class BinaryFieldsAbstractSelfTest extends GridCommonAbstractTes * @throws Exception If failed. */ protected static PortableMarshaller createMarshaller(boolean stringAsBytes) throws Exception { - PortableContext ctx = new PortableContext(META_HND, null); + PortableContext ctx = new PortableContext(META_HND, new IgniteConfiguration()); PortableMarshaller marsh = new PortableMarshaller(); http://git-wip-us.apache.org/repos/asf/ignite/blob/c7a96d0e/modules/core/src/test/java/org/apache/ignite/internal/portable/PortableCompactOffsetsAbstractSelfTest.java ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/org/apache/ignite/internal/portable/PortableCompactOffsetsAbstractSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/portable/PortableCompactOffsetsAbstractSelfTest.java index 816af9a..db3c821 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/portable/PortableCompactOffsetsAbstractSelfTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/portable/PortableCompactOffsetsAbstractSelfTest.java @@ -21,6 +21,7 @@ import java.util.Arrays; import org.apache.ignite.binary.BinaryField; import org.apache.ignite.binary.BinaryType; import org.apache.ignite.binary.BinaryTypeConfiguration; +import org.apache.ignite.configuration.IgniteConfiguration; import org.apache.ignite.internal.util.IgniteUtils; import org.apache.ignite.marshaller.MarshallerContextTestImpl; import org.apache.ignite.marshaller.portable.PortableMarshaller; @@ -57,7 +58,7 @@ public abstract class PortableCompactOffsetsAbstractSelfTest extends GridCommonA @Override protected void beforeTest() throws Exception { super.beforeTest(); - ctx = new PortableContext(META_HND, null); + ctx = new PortableContext(META_HND, new IgniteConfiguration()); marsh = new PortableMarshaller();
