diff --git a/acceptance-tests/src/test/java/tech/pegasys/pantheon/tests/acceptance/dsl/node/ProcessPantheonNodeRunner.java b/acceptance-tests/src/test/java/tech/pegasys/pantheon/tests/acceptance/dsl/node/ProcessPantheonNodeRunner.java index b0ec5e4444..a0f21603c1 100644 --- a/acceptance-tests/src/test/java/tech/pegasys/pantheon/tests/acceptance/dsl/node/ProcessPantheonNodeRunner.java +++ b/acceptance-tests/src/test/java/tech/pegasys/pantheon/tests/acceptance/dsl/node/ProcessPantheonNodeRunner.java @@ -111,6 +111,11 @@ public class ProcessPantheonNodeRunner implements PantheonNodeRunner { params.add(Integer.toString(ethNetworkConfig.getNetworkId())); } + if (!node.p2pEnabled()) { + params.add("--p2p-enabled"); + params.add("false"); + } + final ProcessBuilder processBuilder = new ProcessBuilder(params) .directory(new File(System.getProperty("user.dir")).getParentFile())