hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: [HttpCore] HttpComponents Core 4.0-alpha6 pre-release packages
Date Wed, 03 Oct 2007 17:52:42 GMT
On Wed, 2007-10-03 at 18:26 +0100, sebb wrote:
> Tried another build, having deleted the target directories:
> 

> -------------------------------------------------------------------------------
> Test set: org.apache.http.nio.TestAll
> -------------------------------------------------------------------------------
> Tests run: 108, Failures: 2, Errors: 0, Skipped: 0, Time elapsed:
> 27.328 sec <<< FAILURE!
> testSimpleHttpPostsHTTP10(org.apache.http.nio.protocol.TestNIOHttp)
> Time elapsed: 10.063 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: expected:<0> but was:<32>
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at junit.framework.Assert.failNotEquals(Assert.java:282)
> 	at junit.framework.Assert.assertEquals(Assert.java:64)
> 	at junit.framework.Assert.assertEquals(Assert.java:201)
> 	at junit.framework.Assert.assertEquals(Assert.java:207)
> 	at org.apache.http.nio.protocol.TestNIOHttp.testSimpleHttpPostsHTTP10(TestNIOHttp.java:826)
> 
> testSimpleHttpHeads(org.apache.http.nio.protocol.TestNIOHttp)  Time
> elapsed: 10.047 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: expected:<60> but was:<76>
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at junit.framework.Assert.failNotEquals(Assert.java:282)
> 	at junit.framework.Assert.assertEquals(Assert.java:64)
> 	at junit.framework.Assert.assertEquals(Assert.java:201)
> 	at junit.framework.Assert.assertEquals(Assert.java:207)
> 	at org.apache.http.nio.protocol.TestNIOHttp.testSimpleHttpHeads(TestNIOHttp.java:1240)
> 
> But a second run (without deleting target) works OK.
> 

Sebastian,

Would it be a big deal for you to pull out the latest snapshot off the
SVN trunk and re-run the tests? 

I had to remove test decorators that employ the more advanced throttling
versions of the protocol handlers instead of simpler buffering ones. I
am currently unable to test them properly as do not have a multicore box
at my disposal. Those protocol handlers seem to work well with both Java
1.5 and Java 1.4 on my old Pentium M box.

I guess I have to tell my wife she won't be able to check her emails and
browse her favorite news sites unless we upgrade our PC. Ehhh.

> What's a bit odd though is that it says the NIOSSL tests succeed, even
> though I'm running with Java 1.4:
> 

That's OK. NIOSSL tests were not run. Otherwise it would have said
something like that

[INFO] HttpCore (NIO SSL extensions module) .................. SUCCESS
[5.480s] 

Oleg

> [INFO] Executing tasks
>      [echo] =======================================================
>      [echo] WARNING: Java 1.5 dependent modules are NOT included!
>      [echo] =======================================================
> [INFO] Executed tasks
> [INFO]
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] ------------------------------------------------------------------------
> [INFO] HttpComponents Core ................................... SUCCESS [2.657s]
> [INFO] HttpCore (base module) ................................ SUCCESS [2.656s]
> [INFO] HttpCore (NIO extensions module) ...................... SUCCESS [8.078s]
> [INFO] ------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> 
> 
> Sebb
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org
> 
> 


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


Mime
View raw message