diff options
author | Felix Lange <fjl@twurst.com> | 2016-08-25 22:44:35 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2016-09-05 19:24:11 +0800 |
commit | de54273f51af47fa7c7a66e5edc4c9c6fb03b178 (patch) | |
tree | 39e8bbec7532fc8427a24563242a2d597a0a076b /cmd/geth | |
parent | 6b727c0440f79d12ba38f6c21f50d33b84aeaa83 (diff) | |
download | go-tangerine-de54273f51af47fa7c7a66e5edc4c9c6fb03b178.tar go-tangerine-de54273f51af47fa7c7a66e5edc4c9c6fb03b178.tar.gz go-tangerine-de54273f51af47fa7c7a66e5edc4c9c6fb03b178.tar.bz2 go-tangerine-de54273f51af47fa7c7a66e5edc4c9c6fb03b178.tar.lz go-tangerine-de54273f51af47fa7c7a66e5edc4c9c6fb03b178.tar.xz go-tangerine-de54273f51af47fa7c7a66e5edc4c9c6fb03b178.tar.zst go-tangerine-de54273f51af47fa7c7a66e5edc4c9c6fb03b178.zip |
cmd/geth: fix port clash in genesis test
Diffstat (limited to 'cmd/geth')
-rw-r--r-- | cmd/geth/genesis_test.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cmd/geth/genesis_test.go b/cmd/geth/genesis_test.go index 4f8b1642e..6c3ca7298 100644 --- a/cmd/geth/genesis_test.go +++ b/cmd/geth/genesis_test.go @@ -100,7 +100,10 @@ func TestCustomGenesis(t *testing.T) { runGeth(t, "--datadir", datadir, "init", json).cmd.Wait() // Query the custom genesis block - geth := runGeth(t, "--datadir", datadir, "--maxpeers", "0", "--nodiscover", "--nat", "none", "--ipcdisable", "--exec", tt.query, "console") + geth := runGeth(t, + "--datadir", datadir, "--maxpeers", "0", "--port", "0", + "--nodiscover", "--nat", "none", "--ipcdisable", + "--exec", tt.query, "console") geth.expectRegexp(tt.result) geth.expectExit() } |