[
https://issues.apache.org/jira/browse/GEODE-3477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kirk Lund updated GEODE-3477:
-----------------------------
Summary: RestInterfaceIntegrationTest fails on Windows (was:
RestInterfaceJUnitTest fails on Windows)
> RestInterfaceIntegrationTest fails on Windows
> ---------------------------------------------
>
> Key: GEODE-3477
> URL: https://issues.apache.org/jira/browse/GEODE-3477
> Project: Geode
> Issue Type: Sub-task
> Components: rest (dev), tests
> Environment: Windows
> Reporter: Kirk Lund
> Labels: IntegrationTest, Windows
>
> {noformat}
> org.apache.geode.rest.internal.web.RestInterfaceJUnitTest >
> testRegionObjectWithDatePropertyAccessedWithRestApi FAILED
> org.springframework.web.client.ResourceAccessException: I/O error on GET
> request for "http://localhost:28252/gemfire-api/v1/People/1": stream is
> closed; nested exception is java.io.IOException: stream is closed
> at
> org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:666)
> at
> org.springframework.web.client.RestTemplate.execute(RestTemplate.java:613)
> at
> org.springframework.web.client.RestTemplate.getForObject(RestTemplate.java:287)
> at
> org.apache.geode.rest.internal.web.RestInterfaceJUnitTest.testRegionObjectWithDatePropertyAccessedWithRestApi(RestInterfaceJUnitTest.java:317)
> Caused by:
> java.io.IOException: stream is closed
> at
> sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.ensureOpen(HttpURLConnection.java:3348)
> at
> sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3353)
> at java.io.FilterInputStream.read(FilterInputStream.java:83)
> at java.io.PushbackInputStream.read(PushbackInputStream.java:139)
> at
> org.springframework.web.client.MessageBodyClientHttpResponseWrapper.hasEmptyMessageBody(MessageBodyClientHttpResponseWrapper.java:97)
> at
> org.springframework.web.client.HttpMessageConverterExtractor.extractData(HttpMessageConverterExtractor.java:82)
> at
> org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:655)
> ... 3 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)