mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-17 21:29:54 +01:00
Increased some timeouts to stop tests from failing under load.
This commit is contained in:
@@ -30,7 +30,7 @@ public class TorPluginTest extends BriarTestCase {
|
||||
TorPlugin serverPlugin = new TorPlugin(e, serverCallback, 0L);
|
||||
serverPlugin.start();
|
||||
// The plugin should create a hidden service... eventually
|
||||
serverCallback.latch.await(300, TimeUnit.SECONDS);
|
||||
serverCallback.latch.await(10, TimeUnit.MINUTES);
|
||||
String onion = serverCallback.local.get("onion");
|
||||
assertNotNull(onion);
|
||||
assertTrue(onion.endsWith(".onion"));
|
||||
@@ -69,7 +69,7 @@ public class TorPluginTest extends BriarTestCase {
|
||||
TorPlugin plugin = new TorPlugin(e, callback, 0L);
|
||||
plugin.start();
|
||||
// The plugin should create a hidden service... eventually
|
||||
callback.latch.await(300, TimeUnit.SECONDS);
|
||||
callback.latch.await(10, TimeUnit.MINUTES);
|
||||
String onion = callback.local.get("onion");
|
||||
assertNotNull(onion);
|
||||
assertTrue(onion.endsWith(".onion"));
|
||||
@@ -83,7 +83,7 @@ public class TorPluginTest extends BriarTestCase {
|
||||
plugin = new TorPlugin(e, callback, 0L);
|
||||
plugin.start();
|
||||
// The plugin should create a hidden service... eventually
|
||||
callback.latch.await(300, TimeUnit.SECONDS);
|
||||
callback.latch.await(10, TimeUnit.MINUTES);
|
||||
// The onion URL should be the same
|
||||
assertEquals(onion, callback.local.get("onion"));
|
||||
// The private key should be the same
|
||||
|
||||
Reference in New Issue
Block a user