You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Kirk Lund (JIRA)" <ji...@apache.org> on 2017/08/21 20:48:00 UTC
[jira] [Updated] (GEODE-3481) RestServersIntegrationTest fails on
Windows
[ https://issues.apache.org/jira/browse/GEODE-3481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kirk Lund updated GEODE-3481:
-----------------------------
Description:
{noformat}
rg.apache.geode.rest.internal.web.RestServersIntegrationTest > testGet FAILED
org.junit.ComparisonFailure: expected:<[200]> but was:<[404]>
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at org.apache.geode.rest.internal.web.RestServersIntegrationTest.testGet(RestServersIntegrationTest.java:49)
org.apache.geode.rest.internal.web.RestServersIntegrationTest > testServerStartedOnDefaultPort FAILED
org.json.JSONException: Value <html> of type java.lang.String cannot be converted to JSONArray
at org.json.JSON.typeMismatch(JSON.java:108)
at org.json.JSONArray.<init>(JSONArray.java:85)
at org.apache.geode.rest.internal.web.GeodeRestClient.getJsonArray(GeodeRestClient.java:99)
at org.apache.geode.rest.internal.web.RestServersIntegrationTest.testServerStartedOnDefaultPort(RestServersIntegrationTest.java:55)
{noformat}
was:
{noformat}
rg.apache.geode.rest.internal.web.RestServersJUnitTest > testGet FAILED
org.junit.ComparisonFailure: expected:<[200]> but was:<[404]>
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at org.apache.geode.rest.internal.web.RestServersJUnitTest.testGet(RestServersJUnitTest.java:49)
org.apache.geode.rest.internal.web.RestServersJUnitTest > testServerStartedOnDefaultPort FAILED
org.json.JSONException: Value <html> of type java.lang.String cannot be converted to JSONArray
at org.json.JSON.typeMismatch(JSON.java:108)
at org.json.JSONArray.<init>(JSONArray.java:85)
at org.apache.geode.rest.internal.web.GeodeRestClient.getJsonArray(GeodeRestClient.java:99)
at org.apache.geode.rest.internal.web.RestServersJUnitTest.testServerStartedOnDefaultPort(RestServersJUnitTest.java:55)
{noformat}
> RestServersIntegrationTest fails on Windows
> -------------------------------------------
>
> Key: GEODE-3481
> URL: https://issues.apache.org/jira/browse/GEODE-3481
> Project: Geode
> Issue Type: Sub-task
> Components: rest (dev), tests
> Reporter: Kirk Lund
>
> {noformat}
> rg.apache.geode.rest.internal.web.RestServersIntegrationTest > testGet FAILED
> org.junit.ComparisonFailure: expected:<[200]> but was:<[404]>
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at org.apache.geode.rest.internal.web.RestServersIntegrationTest.testGet(RestServersIntegrationTest.java:49)
> org.apache.geode.rest.internal.web.RestServersIntegrationTest > testServerStartedOnDefaultPort FAILED
> org.json.JSONException: Value <html> of type java.lang.String cannot be converted to JSONArray
> at org.json.JSON.typeMismatch(JSON.java:108)
> at org.json.JSONArray.<init>(JSONArray.java:85)
> at org.apache.geode.rest.internal.web.GeodeRestClient.getJsonArray(GeodeRestClient.java:99)
> at org.apache.geode.rest.internal.web.RestServersIntegrationTest.testServerStartedOnDefaultPort(RestServersIntegrationTest.java:55)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)