Increases the allowed runtime for two network tables tests

This test has been causing the build system to fail to build occasionally
Tested 15 times with 0% failure rate

Change-Id: I8d335b368d95060630b1cd47926e5ba0898e78b7
This commit is contained in:
Jonathan Leitschuh
2014-07-29 17:52:43 -04:00
parent cd75dc71e8
commit e677d52a21
2 changed files with 3 additions and 3 deletions

View File

@@ -19,9 +19,9 @@ public class SocketTest {
}};
@Test(timeout=1000)
@Test(timeout=1500)
public void testSingleSocketConnection() throws Throwable {
doSocketTest(1, 500, 1000, SocketStreams.newStreamProvider(10111), SocketStreams.newStreamFactory("localhost", 10111));
doSocketTest(1, 500, 1500, SocketStreams.newStreamProvider(10111), SocketStreams.newStreamFactory("localhost", 10111));
}
@Test(timeout=2500)
public void testManySocketConnection() throws Throwable {

View File

@@ -10,7 +10,7 @@ import org.junit.*;
public class DefaultThreadManagerTest {
volatile Throwable exception = null;
@Test(timeout=300)
@Test(timeout=400)
public void testConcurrentThreads() throws Throwable {
final int numCounts = 10;
final int numThreads = 10;