aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth/genesis_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/geth/genesis_test.go')
-rw-r--r--cmd/geth/genesis_test.go5
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()
}