From 7fe42c4c4ff70b1732799589a177fdda5deeb497 Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Fri, 7 Nov 2008 02:43:27 +0000 Subject: [PATCH] Increased test timeout to avoid Hudson false alarm --- .../netty/bootstrap/AbstractSocketServerBootstrapTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/jboss/netty/bootstrap/AbstractSocketServerBootstrapTest.java b/src/test/java/org/jboss/netty/bootstrap/AbstractSocketServerBootstrapTest.java index 7f309b08f7..2c17a5bfe8 100644 --- a/src/test/java/org/jboss/netty/bootstrap/AbstractSocketServerBootstrapTest.java +++ b/src/test/java/org/jboss/netty/bootstrap/AbstractSocketServerBootstrapTest.java @@ -82,7 +82,7 @@ public abstract class AbstractSocketServerBootstrapTest { protected abstract ChannelFactory newServerSocketChannelFactory(Executor executor); - @Test(timeout = 10000, expected = ChannelException.class) + @Test(timeout = 30000, expected = ChannelException.class) public void testFailedBindAttempt() throws Exception { ServerBootstrap bootstrap = new ServerBootstrap(); bootstrap.setFactory(newServerSocketChannelFactory(executor)); @@ -90,7 +90,7 @@ public abstract class AbstractSocketServerBootstrapTest { bootstrap.bind(); } - @Test(timeout = 10000) + @Test(timeout = 30000) public void testSuccessfulBindAttempt() throws Exception { ServerBootstrap bootstrap = new ServerBootstrap( newServerSocketChannelFactory(executor));