Make a CPU-intensive test pass on a slow machine

This commit is contained in:
Trustin Lee 2012-06-11 11:42:11 +09:00
parent f3bbb7291e
commit 632542e0cd

View File

@ -205,7 +205,7 @@ public class LocalTransportThreadModelTest {
}
}
@Test(timeout = 10000)
@Test(timeout = 30000)
public void testConcurrentMessageBufferAccess() throws Throwable {
EventLoop l = new LocalEventLoop(4, new PrefixThreadFactory("l"));
EventExecutor e1 = new DefaultEventExecutor(4, new PrefixThreadFactory("e1"));