test: integration tests listen on localhost (#596)
This commit is contained in:
parent
2fc71cf81b
commit
0014ffdef5
|
@ -86,6 +86,7 @@ template multinodesuite*(name: string,
|
||||||
"--api-port=" & $(8080 + index),
|
"--api-port=" & $(8080 + index),
|
||||||
"--data-dir=" & datadir,
|
"--data-dir=" & datadir,
|
||||||
"--nat=127.0.0.1",
|
"--nat=127.0.0.1",
|
||||||
|
"--listen-addrs=/ip4/127.0.0.1/tcp/0",
|
||||||
"--disc-ip=127.0.0.1",
|
"--disc-ip=127.0.0.1",
|
||||||
"--disc-port=" & $(8090 + index),
|
"--disc-port=" & $(8090 + index),
|
||||||
"--eth-account=" & $accounts[index]]
|
"--eth-account=" & $accounts[index]]
|
||||||
|
|
|
@ -26,6 +26,7 @@ ethersuite "Node block expiration tests":
|
||||||
"--api-port=8080",
|
"--api-port=8080",
|
||||||
"--data-dir=" & dataDir,
|
"--data-dir=" & dataDir,
|
||||||
"--nat=127.0.0.1",
|
"--nat=127.0.0.1",
|
||||||
|
"--listen-addrs=/ip4/127.0.0.1/tcp/0",
|
||||||
"--disc-ip=127.0.0.1",
|
"--disc-ip=127.0.0.1",
|
||||||
"--disc-port=8090",
|
"--disc-port=8090",
|
||||||
"--block-ttl=" & $blockTtlSeconds,
|
"--block-ttl=" & $blockTtlSeconds,
|
||||||
|
|
|
@ -63,6 +63,7 @@ twonodessuite "Proving integration test", debug1=false, debug2=false:
|
||||||
"--data-dir=" & validatorDir,
|
"--data-dir=" & validatorDir,
|
||||||
"--api-port=8089",
|
"--api-port=8089",
|
||||||
"--disc-port=8099",
|
"--disc-port=8099",
|
||||||
|
"--listen-addrs=/ip4/127.0.0.1/tcp/0",
|
||||||
"--validator",
|
"--validator",
|
||||||
"--eth-account=" & $accounts[2]
|
"--eth-account=" & $accounts[2]
|
||||||
], debug = false
|
], debug = false
|
||||||
|
|
|
@ -38,6 +38,7 @@ template twonodessuite*(name: string, debug1, debug2: string, body) =
|
||||||
"--nat=127.0.0.1",
|
"--nat=127.0.0.1",
|
||||||
"--disc-ip=127.0.0.1",
|
"--disc-ip=127.0.0.1",
|
||||||
"--disc-port=8090",
|
"--disc-port=8090",
|
||||||
|
"--listen-addrs=/ip4/127.0.0.1/tcp/0",
|
||||||
"--persistence",
|
"--persistence",
|
||||||
"--eth-account=" & $account1
|
"--eth-account=" & $account1
|
||||||
]
|
]
|
||||||
|
@ -56,6 +57,7 @@ template twonodessuite*(name: string, debug1, debug2: string, body) =
|
||||||
"--nat=127.0.0.1",
|
"--nat=127.0.0.1",
|
||||||
"--disc-ip=127.0.0.1",
|
"--disc-ip=127.0.0.1",
|
||||||
"--disc-port=8091",
|
"--disc-port=8091",
|
||||||
|
"--listen-addrs=/ip4/127.0.0.1/tcp/0",
|
||||||
"--bootstrap-node=" & bootstrap,
|
"--bootstrap-node=" & bootstrap,
|
||||||
"--persistence",
|
"--persistence",
|
||||||
"--eth-account=" & $account2
|
"--eth-account=" & $account2
|
||||||
|
|
Loading…
Reference in New Issue