No need to make the timeout of thread model test too long

Using m1.large instance fixed the unstable build problem with CloudBees
This commit is contained in:
Trustin Lee 2012-08-19 15:18:51 +09:00
parent 7b213d2c93
commit ebf33c6e3b

View File

@ -204,7 +204,7 @@ public class LocalTransportThreadModelTest {
} }
} }
@Test(timeout = 120000) @Test(timeout = 30000)
public void testConcurrentMessageBufferAccess() throws Throwable { public void testConcurrentMessageBufferAccess() throws Throwable {
EventLoopGroup l = new LocalEventLoopGroup(4, new PrefixThreadFactory("l")); EventLoopGroup l = new LocalEventLoopGroup(4, new PrefixThreadFactory("l"));
EventExecutorGroup e1 = new DefaultEventExecutorGroup(4, new PrefixThreadFactory("e1")); EventExecutorGroup e1 = new DefaultEventExecutorGroup(4, new PrefixThreadFactory("e1"));