Re: Regression on Linux System

Russell Gold <[email protected]> Thu, 03 Sep 2009 23:42:57 -0400
Newsgroups gmane.comp.web.httpunit.devel
Message-ID <[email protected]>
On my windows XP box, running from the command line, I get one failure  
in: testRefererHeaderWithStrippingReferer or  
testRedirectedRefererHeader or two failures: testRefererHeader and  
testmetaEncoding.

On MacOSX I get one intermittent failure in testFindNoTables or   
testQuotedEncoding

I am going to guess that this might be a problem in the pseudoserver  
somehow. There seems to be a race condition here.


On Aug 26, 2009, at 2:23 AM, Wolfgang Fahl wrote:

> Dear httpunit developers and users,
>
> In my main Windows XP environment with Eclipse Ganymede everything  
> is fine: 801 of 801 tests run.
>
> trying to test the current subversion trunk (Revision 1060) on a  
> Suse 10.2 linux system with Eclipse Europa and on the command line  
> gave me mixed results. (See below). I'd like to ask you to help  
> getting the remaining problems sorted out:
> 1. testCookieAge still seems to fail in certain environments
>
> 2. there seems to be some reason for tests to fail in a (on first  
> sight) non-deterministic way. It would be great to know if this also  
> happens in other environments and try to track down the reason for  
> this behaviour.
>
>
> Thanks for your support.
>
> Yours
>   Wolfgang
>
> Testing with
>       mvn clean install
> leads to:
>
> Failed tests: testCookieAge(com.meterware.httpunit.cookies.CookieTest)
>
> Tests in error:
> Tests run: 740, Failures: 1, Errors: 0, Skipped: 0
>
> Doing the tests from Eclipse the situation is different:
>
> testRefreshHeader:
> junit.framework.AssertionFailedError: No Refresh header found
> ...
> com.meterware.httpunit.WebPageTest.testRefreshHeader 
> (WebPageTest.java:241)
>       at
>
> on another run:
> 1) testJapaneseLinkParamNameWithValue 
> (com.meterware.httpunit.EncodingTest) 
> com.meterware.httpunit.NotHTMLException: The content type of the  
> response is 'unknown/unknown': it must be 'text/html' in order to be  
> recognized as HTML
>       at com.meterware.httpunit.WebResponse.getReceivedPage 
> (WebResponse.java:1344)
>       at
>
> There was 1 failure:
> 1) testAuthenticationNegotiateRequest 
> (com.meterware.httpunit.WebClientTest) 
> junit.framework.ComparisonFailure: authorization  
> expected:<unauthoriz...> but was:<Not Modifi...>
>       at  
> com.meterware.httpunit.WebClientTest.testAuthenticationNegotiateRequest 
> (WebClientTest.java:492)
>       at
> FAILURES!!!
> Tests run: 801,  Failures: 1,  Errors: 1
>
>
> Yet another run:
> There was 1 failure:
> 1) testBasicAuthenticationRequestedForUnknownRealm 
> (com.meterware.httpunit.WebClientTest) 
> junit.framework.AssertionFailedError: Should have rejected  
> authentication
>       at
> FAILURES!!!
> Tests run: 801,  Failures: 1,  Errors: 0
>
> Yet another run:
> There was 1 error:
> 1) testIllegalMultiFileSubmit(com.meterware.httpunit.FileUploadTest) 
> com.meterware.httpunit.NotHTMLException: The content type of the  
> response is 'unknown/unknown': it must be 'text/html' in order to be  
> recognized as HTML
>       at com.meterware.httpunit.WebResponse.getReceivedPage 
> (WebResponse.java:1344)
>       at
>
> There was 1 failure:
> 1) testAuthenticationNegotiateRequest 
> (com.meterware.httpunit.WebClientTest) 
> junit.framework.ComparisonFailure: authorization  
> expected:<unauthoriz...> but was:<Not Modifi...>
>       at  
> com.meterware.httpunit.WebClientTest.testAuthenticationNegotiateRequest 
> (WebClientTest.java:492)
>       at
> FAILURES!!!
> Tests run: 801,  Failures: 1,  Errors: 1
>
>
>
>
> Yours
>
> Wolfgang
>
> BITPlan - smart solutions
> Pater-Delp-Str. 1, D-47877 Willich Schiefbahn
> Tel. +49 2154 811-480, Fax +49 2154 811-481
> Web: http://www.bitplan.de
> bitplan GmbH, Willich - HRB 6820 Krefeld, VAT-ID: 10258040548,  
> Geschäftsführer: Wolfgang Fahl
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008  
> 30-Day
> trial. Simplify your report design, integration and deployment - and  
> focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july_______________________________________________
> Httpunit-develop mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/httpunit-develop

-----------------
Come read my webnovel, Take a Lemon <http://www.takealemon.com>,
and listen to the Misfile radio play <http://www.gold-family.us/audio/misfile.html 
 >!

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

_______________________________________________
Httpunit-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/httpunit-develop