geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-3562) CI Failure: JSONCodecJUnitTest.testSimpleJSONEncode fails on Windows
Date Wed, 13 Sep 2017 22:56:00 GMT

    [ https://issues.apache.org/jira/browse/GEODE-3562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16165428#comment-16165428
] 

ASF subversion and git services commented on GEODE-3562:
--------------------------------------------------------

Commit a4320f781bca265480aa1b943a17f080c29a0be4 in geode's branch refs/heads/develop from
[~bschuchardt]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=a4320f7 ]

GEODE-3562 CI Failure: JSONCodecJUnitTest.testSimpleJSONEncode fails on Windows

modified the test to use platform-specific line terminators in the
json document.  Tested on MacOS and Windows.


> CI Failure: JSONCodecJUnitTest.testSimpleJSONEncode fails on Windows
> --------------------------------------------------------------------
>
>                 Key: GEODE-3562
>                 URL: https://issues.apache.org/jira/browse/GEODE-3562
>             Project: Geode
>          Issue Type: Bug
>          Components: client/server
>            Reporter: Bruce Schuchardt
>
> Maybe this is a problem with line terminators?  It's failing on a length check.
> :geode-protobuf:test
> org.apache.geode.serialization.codec.JSONCodecJUnitTest > testSimpleJSONEncode FAILED
>     java.lang.AssertionError: array lengths differed, expected.length=49 actual.length=52
>         at org.junit.Assert.fail(Assert.java:88)
>         at org.junit.internal.ComparisonCriteria.assertArraysAreSameLength(ComparisonCriteria.java:76)
>         at org.junit.internal.ComparisonCriteria.arrayEquals(ComparisonCriteria.java:37)
>         at org.junit.Assert.internalArrayEquals(Assert.java:532)
>         at org.junit.Assert.assertArrayEquals(Assert.java:341)
>         at org.junit.Assert.assertArrayEquals(Assert.java:352)
>         at org.apache.geode.serialization.codec.JSONCodecJUnitTest.testSimpleJSONEncode(JSONCodecJUnitTest.java:96)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message