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 18:49:41 GMT
sebb wrote:
> On 03/10/2007, Oleg Kalnichevski <olegk@apache.org> wrote:
>> 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?
> 
> OK, I'll try that later.
> 
>> 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]
> 
> Rather confusing - it should say NOT RUN or similar.
> 
> And why does it take 8 seconds to do nothing?
> 

All right. Let me try it again. Please see the output below once again. 
There is no mentioning of NIO SSL anywhere (not to be confused with NIO 
extensions).


>>> [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
>>>

No mentioning of NIO SSL extensions. They were _not_ run. They were 
_excluded_ because of the JDK level (1.4).

Oleg

>>> 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
>>
>>
> 
> ---------------------------------------------------------------------
> 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