dev@grizzly.java.net

Re: trunk broken GrizzlyWebServerTest

From: Hubert Iwaniuk <neotyk_at_kungfoo.pl>
Date: Mon, 9 Feb 2009 22:08:37 +0100

Changed test a bit.
instead trying to start two GWS test bind to port and than tries to start
GWS.

Please give it a try,
H.

On Mon, Feb 9, 2009 at 9:42 PM, gustav trede <gustav.trede_at_gmail.com> wrote:

>
>
> 2009/2/9 Hubert Iwaniuk <neotyk_at_kungfoo.pl>
>
>> Have problems reproducing it.
>>
>> In other words it runs on my machine.
>>
>> can you attach output of GWST, that would help.
>>
>> Thanks.
>>
>> On Mon, Feb 9, 2009 at 9:23 PM, gustav trede <gustav.trede_at_gmail.com>wrote:
>>
>>>
>>> trunk broken
>>>
>>> Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.075 sec
>>> <<< FAILURE!
>>> testStartContract(com.sun.grizzly.http.GrizzlyWebServerTest) Time
>>> elapsed: 2.004 sec <<< FAILURE!
>>> junit.framework.AssertionFailedError: Should throw exception that can't
>>> bind to port.
>>> at junit.framework.Assert.fail(Assert.java:47)
>>> at
>>> com.sun.grizzly.http.GrizzlyWebServerTest.testStartContract(GrizzlyWebServerTest.java:154)
>>>
>>>
>>>
>
> Running com.sun.grizzly.http.GrizzlyWebServerTest
> 2009-feb-09 21:36:45 com.sun.grizzly.http.GrizzlyWebServerTest$1 doGet
> INFO: /1 received request /1
> 2009-feb-09 21:36:46 com.sun.grizzly.http.GrizzlyWebServerTest$1 doGet
> INFO: /1 received request /1
> 2009-feb-09 21:36:46 com.sun.grizzly.http.GrizzlyWebServerTest$1 doGet
> INFO: /2 received request /2
> 2009-feb-09 21:36:46 com.sun.grizzly.http.GrizzlyWebServerTest$1 doGet
> INFO: /3 received request /3
> 2009-feb-09 21:36:47 com.sun.grizzly.http.GrizzlyWebServerTest$1 doGet
> INFO: /1 received request /1
> 2009-feb-09 21:36:47 com.sun.grizzly.http.GrizzlyWebServerTest$1 doGet
> INFO: /2 received request /2
> 2009-feb-09 21:36:47 com.sun.grizzly.http.GrizzlyWebServerTest$1 doGet
> INFO: /2/1 received request /2/1
> 2009-feb-09 21:36:47 com.sun.grizzly.http.GrizzlyWebServerTest$1 doGet
> INFO: /1 received request /1
> 2009-feb-09 21:36:47 com.sun.grizzly.http.GrizzlyWebServerTest$1 doGet
> INFO: /2 received request /2
> 2009-feb-09 21:36:47 com.sun.grizzly.http.GrizzlyWebServerTest$1 doGet
> INFO: /3 received request /3
> Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.084 sec
> <<< FAILURE!
>
>
>>> --
>>> regards
>>> gustav trede
>>>
>>