I think I've seen this before. Randomly. 
Perhaps we can make this test more reliable with a CountDownLatch?

Sent from my iPhone

> On 2016/05/05, at 3:44, Gary Gregory <[email protected]> wrote:
> 
> When I run UdpSerializedSocketServerTest from Eclipse all is well.
> 
> When I run it from Maven with 'mvn clean test' I get:
> 
> Failed tests:
>   
> UdpSerializedSocketServerTest>AbstractSocketServerTest.test10ShortMessages:118->AbstractSocketServerTest.testServer:161->AbstractSocketServerTest.testServer:201
>  Incorrect number of events received expected:<10> but was:<7>
> 
> Anyone else?
> 
> I wonder if this could be a timing issue?
> 
> Gary
> 
> -- 
> E-Mail: [email protected] | [email protected] 
> Java Persistence with Hibernate, Second Edition
> JUnit in Action, Second Edition
> Spring Batch in Action
> Blog: http://garygregory.wordpress.com 
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory

Reply via email to