mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 02:39:05 +01:00
Use non-default Tor ports for BridgeTest.
This commit is contained in:
@@ -89,6 +89,9 @@ public class BridgeTest extends BrambleTestCase {
|
||||
private final static long MEEK_TIMEOUT = MINUTES.toMillis(6);
|
||||
private final static int UNREACHABLE_BRIDGES_ALLOWED = 6;
|
||||
private final static int ATTEMPTS_PER_BRIDGE = 5;
|
||||
// Use different ports from Briar Desktop to avoid conflicts
|
||||
private final static int SOCKS_PORT = DEFAULT_SOCKS_PORT + 10;
|
||||
private final static int CONTROL_PORT = DEFAULT_CONTROL_PORT + 10;
|
||||
|
||||
private final static Logger LOG = getLogger(BridgeTest.class.getName());
|
||||
|
||||
@@ -165,7 +168,7 @@ public class BridgeTest extends BrambleTestCase {
|
||||
networkManager, locationUtils, eventBus, torSocketFactory,
|
||||
backoffFactory, resourceProvider, bridgeProvider,
|
||||
batteryManager, clock, crypto, torDir,
|
||||
DEFAULT_SOCKS_PORT, DEFAULT_CONTROL_PORT);
|
||||
SOCKS_PORT, CONTROL_PORT);
|
||||
}
|
||||
|
||||
@After
|
||||
|
||||
Reference in New Issue
Block a user