From 0727e0bc10da6bd75d5bbc02f68331daa099e04f Mon Sep 17 00:00:00 2001 From: "S. Matthew English" Date: Tue, 14 May 2019 16:57:19 -0400 Subject: [PATCH] ~ --- .../net/ExpectNetServicesReturnsAllServicesAsActive.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/acceptance-tests/src/test/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/net/ExpectNetServicesReturnsAllServicesAsActive.java b/acceptance-tests/src/test/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/net/ExpectNetServicesReturnsAllServicesAsActive.java index f23d68b6c9..46fd568954 100644 --- a/acceptance-tests/src/test/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/net/ExpectNetServicesReturnsAllServicesAsActive.java +++ b/acceptance-tests/src/test/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/net/ExpectNetServicesReturnsAllServicesAsActive.java @@ -42,12 +42,12 @@ public void verify(final Node node) { assertThat(InetAddresses.isUriInetAddress(result.get("ws").get("host"))).isTrue(); final int wsPort = Integer.valueOf(result.get("ws").get("port")); - // TODO: explicitly set port + // TODO: Port should not be 0-valued assertThat(NetworkUtility.isValidPort(wsPort) || wsPort == 0).isTrue(); assertThat(InetAddresses.isUriInetAddress(result.get("jsonrpc").get("host"))).isTrue(); final int jsonRpcPort = Integer.valueOf(result.get("jsonrpc").get("port")); - // TODO: explicitly set port + // TODO: Port should not be 0-valued assertThat(NetworkUtility.isValidPort(jsonRpcPort) || jsonRpcPort == 0).isTrue(); }