test: integration tests listen on localhost (#596)

This commit is contained in:
Adam Uhlíř 2023-10-24 16:52:06 +02:00 committed by GitHub
parent 2fc71cf81b
commit 0014ffdef5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 0 deletions

View File

@ -86,6 +86,7 @@ template multinodesuite*(name: string,
"--api-port=" & $(8080 + index),
"--data-dir=" & datadir,
"--nat=127.0.0.1",
"--listen-addrs=/ip4/127.0.0.1/tcp/0",
"--disc-ip=127.0.0.1",
"--disc-port=" & $(8090 + index),
"--eth-account=" & $accounts[index]]

View File

@ -26,6 +26,7 @@ ethersuite "Node block expiration tests":
"--api-port=8080",
"--data-dir=" & dataDir,
"--nat=127.0.0.1",
"--listen-addrs=/ip4/127.0.0.1/tcp/0",
"--disc-ip=127.0.0.1",
"--disc-port=8090",
"--block-ttl=" & $blockTtlSeconds,

View File

@ -63,6 +63,7 @@ twonodessuite "Proving integration test", debug1=false, debug2=false:
"--data-dir=" & validatorDir,
"--api-port=8089",
"--disc-port=8099",
"--listen-addrs=/ip4/127.0.0.1/tcp/0",
"--validator",
"--eth-account=" & $accounts[2]
], debug = false

View File

@ -38,6 +38,7 @@ template twonodessuite*(name: string, debug1, debug2: string, body) =
"--nat=127.0.0.1",
"--disc-ip=127.0.0.1",
"--disc-port=8090",
"--listen-addrs=/ip4/127.0.0.1/tcp/0",
"--persistence",
"--eth-account=" & $account1
]
@ -56,6 +57,7 @@ template twonodessuite*(name: string, debug1, debug2: string, body) =
"--nat=127.0.0.1",
"--disc-ip=127.0.0.1",
"--disc-port=8091",
"--listen-addrs=/ip4/127.0.0.1/tcp/0",
"--bootstrap-node=" & bootstrap,
"--persistence",
"--eth-account=" & $account2