TCP: Fix Event Tests Race Condition - take 2
This commit is contained in:
@@ -136,7 +136,7 @@ public class ConnectionFactoryTests {
|
||||
|
||||
FooEvent event = new FooEvent(client, "foo");
|
||||
client.publishEvent(event);
|
||||
assertEquals(expected + 1, events.size());
|
||||
assertThat(events.size(), greaterThanOrEqualTo(expected + 1));
|
||||
|
||||
try {
|
||||
event = new FooEvent(mock(TcpConnectionSupport.class), "foo");
|
||||
|
||||
Reference in New Issue
Block a user