It's just that the two tests you mention won't fail unless the build is not
getting enough CPU time. They should not be failing because of any changes
I made.

Perhaps the CachedClockTest is just too strict...


On Wed, May 21, 2014 at 12:35 AM, Gary Gregory <[email protected]>wrote:

> On Tue, May 20, 2014 at 11:25 AM, Remko Popma <[email protected]>wrote:
>
>> I didn't touch CachedClockTest...
>> Could it be that you are running other programs at the same time as the
>> build?
>>
>
> Uh, off course: Firefox, Eclipse, Outlook, Notepad++, and the usual load
> in my system tray (Skype, Dropbox, and so on). But so what? The build
> should be handle slow and fast machines...
>
> Gary
>
>>
>> Same thing for AbstractSocketServerTest:
>> I replaced an unconditional 4 second wait with a loop that sleeps 40ms up
>> to 100 times. Total wait time is the same, but the loop checks if the
>> expected number of events has already been received and then breaks. So my
>> change should not have made it worse...
>> Anyway, I've changed the loop to up to 200 times.
>>
>>
>> On Wed, May 21, 2014 at 12:13 AM, Gary Gregory <[email protected]>wrote:
>>
>>> ... and other, different random failures below. The value of these
>>> recent test 'speed ups' are, hm, unhelpful. I am assuming these failures
>>> are related. Please advise of fix. Is it just not my day? ;-)
>>>
>>> Results :
>>>
>>> Failed tests:
>>>
>>> UdpSerializedSocketServerTest>AbstractSocketServerTest.test10ShortMessages:130->AbstractSocketServerTest.testServer:166->AbstractSocketServerTest.testServer:208
>>> Incorrect number of events received expected:<10> but was:<8>
>>>
>>>
>>> Tests run: 557, Failures: 1, Errors: 0, Skipped: 23
>>>
>>> Results :
>>>
>>> Failed tests:
>>>   CachedClockTest.testAfterWaitStillLessThan17Millis:43 diff too large:
>>> 102
>>>
>>>
>>> Tests run: 557, Failures: 1, Errors: 0, Skipped: 23
>>>
>>> Gary
>>>
>>>
>>> On Tue, May 20, 2014 at 9:09 AM, Gary Gregory <[email protected]>wrote:
>>>
>>>> I just saw this random error:
>>>>
>>>> Failed tests:
>>>>
>>>> TLSSyslogAppenderTest>SyslogAppenderTest.testUDPAppender:76->SyslogAppenderTestBase.sendAndCheckLegacyBSDMessage:69->SyslogAppenderTestBase.checkTheNumberOfSentAndReceivedMessages:107
>>>> The number of received messages should be equal with t
>>>> he number of sent messages expected:<1> but was:<0>
>>>>
>>>> Tests run: 557, Failures: 1, Errors: 0, Skipped: 23
>>>>
>>>> Gary
>>>>
>>>> --
>>>> E-Mail: [email protected] | [email protected]
>>>> Java Persistence with Hibernate, Second 
>>>> Edition<http://www.manning.com/bauer3/>
>>>> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
>>>> Spring Batch in Action <http://www.manning.com/templier/>
>>>> Blog: http://garygregory.wordpress.com
>>>> Home: http://garygregory.com/
>>>> Tweet! http://twitter.com/GaryGregory
>>>>
>>>
>>>
>>>
>>> --
>>> E-Mail: [email protected] | [email protected]
>>> Java Persistence with Hibernate, Second 
>>> Edition<http://www.manning.com/bauer3/>
>>> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
>>> Spring Batch in Action <http://www.manning.com/templier/>
>>> Blog: http://garygregory.wordpress.com
>>> Home: http://garygregory.com/
>>> Tweet! http://twitter.com/GaryGregory
>>>
>>
>>
>
>
> --
> E-Mail: [email protected] | [email protected]
> Java Persistence with Hibernate, Second 
> Edition<http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
>

Reply via email to