You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Steve Westwood (JIRA)" <ji...@apache.org> on 2013/03/13 13:46:13 UTC

[jira] [Comment Edited] (HTTPCORE-280) Failing tests with jdk 1.7 or 1.8

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

Steve Westwood edited comment on HTTPCORE-280 at 3/13/13 12:45 PM:
-------------------------------------------------------------------

I note that tests running under Windows 7 64-bit using Java 7 1.7.0_13 now pass:

C:\Work\Source\apache-httpcore>java -version
java version "1.7.0_13"
Java(TM) SE Runtime Environment (build 1.7.0_13-b20)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)

[INFO]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] ------------------------------------------------------------------------
[INFO] HttpComponents Core ................................... SUCCESS [3.500s]
[INFO] HttpCore .............................................. SUCCESS [22.599s]
[INFO] HttpCore NIO .......................................... SUCCESS [30.274s]
[INFO] HttpCore OSGi bundle .................................. SUCCESS [1.103s]
[INFO] HttpCore AB clone ..................................... SUCCESS [2.852s]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 1 second
[INFO] Finished at: Wed Mar 13 12:42:07 GMT 2013
[INFO] Final Memory: 91M/773M
[INFO] ------------------------------------------------------------------------

                
      was (Author: hexsaw):
    I note that tests running under Windows 7 64-bit using Java 7 1.7.0_13 now pass:
{code}
C:\Work\Source\apache-httpcore>java -version
java version "1.7.0_13"
Java(TM) SE Runtime Environment (build 1.7.0_13-b20)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)
{code}

{code}
[INFO]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] ------------------------------------------------------------------------
[INFO] HttpComponents Core ................................... SUCCESS [3.500s]
[INFO] HttpCore .............................................. SUCCESS [22.599s]
[INFO] HttpCore NIO .......................................... SUCCESS [30.274s]
[INFO] HttpCore OSGi bundle .................................. SUCCESS [1.103s]
[INFO] HttpCore AB clone ..................................... SUCCESS [2.852s]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 1 second
[INFO] Finished at: Wed Mar 13 12:42:07 GMT 2013
[INFO] Final Memory: 91M/773M
[INFO] ------------------------------------------------------------------------
{code}
                  
> Failing tests with jdk 1.7 or 1.8
> ---------------------------------
>
>                 Key: HTTPCORE-280
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-280
>             Project: HttpComponents HttpCore
>          Issue Type: Bug
>          Components: HttpCore
>    Affects Versions: 4.2-alpha2
>         Environment: Windows 7, x64. JDK 7u2 and 8
>            Reporter: David Dabbs
>            Priority: Minor
>             Fix For: 4.3
>
>
> When running mvn clean install on httpcore (with jdk7 or jdk8), two tests fail with I/O timeouts. The tests do not fail using jdk6u29.
> Running org.apache.http.integration.TestSyncHttp
> I/O error: Read timed out
> I/O error: Read timed out
> Tests run: 7, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 30.709 sec <<< FAILURE!
> . . .
> Tests in error:
>   testSimpleHttpPostsChunked(org.apache.http.integration.TestSyncHttp): Read timed out
>   testHttpContent(org.apache.http.integration.TestSyncHttp): Read timed out
> Tests run: 551, Failures: 0, Errors: 2, Skipped: 0

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org