Browse Source

Merge #883: Change IRC ports for local tests

e7027ab20b Change IRC ports for local tests (Kristaps Kaupe)

Pull request description:

  `127.0.0.1:6668` is already taken if you run I2P daemon (`i2pd`) with default config on the same machine. Any hardcoded ports can collide, but 16667+ seems to be safer value than 6667+.

Top commit has no ACKs.

Tree-SHA512: cb1b9c38e6282ab9b0f2c6cf5066a5fdcfb193a505472836aa70600bcddc51311496f343fed04540ef42c8bcf9c8a18f1f79d37d40e8389985fa6f64c1d79c0c
master
Kristaps Kaupe 5 years ago
parent
commit
7d572d7f88
No known key found for this signature in database
GPG Key ID: 33E472FE870C7E5D
  1. 2
      conftest.py
  2. 4
      test/regtest_joinmarket.cfg

2
conftest.py

@ -102,7 +102,7 @@ def setup(request):
global miniircd_procs
for i in range(n_irc):
miniircd_proc = local_command(
["./miniircd/miniircd", "--ports=" + str(6667+i),
["./miniircd/miniircd", "--ports=" + str(16667+i),
"--motd=" + cwd + "/miniircd/testmotd"],
bg=True)
miniircd_procs.append(miniircd_proc)

4
test/regtest_joinmarket.cfg

@ -19,7 +19,7 @@ rpc_wallet_file = jm-test-wallet
host = localhost
hostid = localhost1
channel = joinmarket-pit
port = 6667
port = 16667
usessl = false
socks5 = false
socks5_host = localhost
@ -29,7 +29,7 @@ socks5_port = 9150
host = localhost
hostid = localhost2
channel = joinmarket-pit
port = 6668
port = 16668
usessl = false
socks5 = false
socks5_host = localhost

Loading…
Cancel
Save