diff --git a/test/net/sf/briar/plugins/socket/SimpleSocketPluginTest.java b/test/net/sf/briar/plugins/socket/SimpleSocketPluginTest.java index fd41e7f9cb6efbd3e3d25ed19f5e027426a9899e..28e590fc5e0646e03212236b48eea9765b55e2d9 100644 --- a/test/net/sf/briar/plugins/socket/SimpleSocketPluginTest.java +++ b/test/net/sf/briar/plugins/socket/SimpleSocketPluginTest.java @@ -45,12 +45,12 @@ public class SimpleSocketPluginTest extends TestCase { Socket s = new Socket(); assertEquals(0, callback.incomingConnections); s.connect(addr, 100); - Thread.sleep(10); + Thread.sleep(100); assertEquals(1, callback.incomingConnections); s.close(); // Stop the plugin plugin.stop(); - Thread.sleep(10); + Thread.sleep(100); // The plugin should no longer be listening try { s = new Socket();