mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-04-20 07:46:05 -04:00
Use sequentially named directories for peers in network stress test
This may allow to reuse the directory (to avoid regenerating keys, basically).
This commit is contained in:
parent
b3932d0bf4
commit
3a7359247b
@ -90,7 +90,7 @@ public class NetworkStressTest {
|
||||
}
|
||||
for (int p = 0; p < NPEERS; p++) {
|
||||
final int peerPort = Utils.findFreeSystemPort();
|
||||
final File peerDir = new File(tempDir.toFile(), "Bitsquare_peer_" + peerPort);
|
||||
final File peerDir = new File(tempDir.toFile(), String.format("peer-%06d", p));
|
||||
final File peerTorDir = new File(peerDir, "tor");
|
||||
final File peerStorageDir = new File(peerDir, "db");
|
||||
final File peerKeysDir = new File(peerDir, "keys");
|
||||
|
Loading…
x
Reference in New Issue
Block a user