IGNITE-2210: Fixed testMethodAnnotationWithoutGet - it cannot work with BinaryMarshaller at the moment.
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/48a1e0a9 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/48a1e0a9 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/48a1e0a9 Branch: refs/heads/ignite-1.5.1-2 Commit: 48a1e0a949aadcf28729b27b5413f53cff905981 Parents: 10bb798 Author: vozerov-gridgain <voze...@gridgain.com> Authored: Fri Dec 18 16:08:24 2015 +0300 Committer: vozerov-gridgain <voze...@gridgain.com> Committed: Fri Dec 18 16:08:24 2015 +0300 ---------------------------------------------------------------------- .../cache/IgniteCacheAbstractFieldsQuerySelfTest.java | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/48a1e0a9/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheAbstractFieldsQuerySelfTest.java ---------------------------------------------------------------------- diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheAbstractFieldsQuerySelfTest.java b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheAbstractFieldsQuerySelfTest.java index 4c952fc..926d294 100644 --- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheAbstractFieldsQuerySelfTest.java +++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheAbstractFieldsQuerySelfTest.java @@ -846,15 +846,17 @@ public abstract class IgniteCacheAbstractFieldsQuerySelfTest extends GridCommonA * @throws Exception If failed. */ public void testMethodAnnotationWithoutGet() throws Exception { - QueryCursor<List<?>> qry = grid(0).cache(null) - .query(new SqlFieldsQuery("select methodField from Organization where methodField='name-A'") - .setPageSize(10)); + if (!binaryMarshaller) { + QueryCursor<List<?>> qry = grid(0).cache(null) + .query(new SqlFieldsQuery("select methodField from Organization where methodField='name-A'") + .setPageSize(10)); - List<List<?>> flds = qry.getAll(); + List<List<?>> flds = qry.getAll(); - assertEquals(1, flds.size()); + assertEquals(1, flds.size()); - assertEquals("name-A", flds.get(0).get(0)); + assertEquals("name-A", flds.get(0).get(0)); + } } /**