diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/pom.xml | 25 | ||||
-rw-r--r-- | utils/src/test/java/org/onap/policy/common/utils/network/NetworkUtilTest.java | 2 |
2 files changed, 1 insertions, 26 deletions
diff --git a/utils/pom.xml b/utils/pom.xml index 4b0f03ba..82f07b38 100644 --- a/utils/pom.xml +++ b/utils/pom.xml @@ -32,11 +32,6 @@ <description>Common Utilities</description> <packaging>jar</packaging> - <properties> - <powermock.version>1.6.6</powermock.version> - <slf4j.version>1.7.25</slf4j.version> - </properties> - <dependencies> <dependency> <groupId>org.apache.commons</groupId> @@ -60,32 +55,12 @@ <dependency> <groupId>org.powermock</groupId> <artifactId>powermock-api-mockito</artifactId> - <version>${powermock.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.powermock</groupId> <artifactId>powermock-module-junit4</artifactId> - <version>${powermock.version}</version> <scope>test</scope> - <exclusions> - <exclusion> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - </exclusion> - <exclusion> - <groupId>org.powermock</groupId> - <artifactId>powermock-core</artifactId> - </exclusion> - <exclusion> - <groupId>org.powermock</groupId> - <artifactId>powermock-reflect</artifactId> - </exclusion> - <exclusion> - <groupId>org.javassist</groupId> - <artifactId>javassist</artifactId> - </exclusion> - </exclusions> </dependency> <dependency> <groupId>com.openpojo</groupId> diff --git a/utils/src/test/java/org/onap/policy/common/utils/network/NetworkUtilTest.java b/utils/src/test/java/org/onap/policy/common/utils/network/NetworkUtilTest.java index 1e402d2a..6dd09d6e 100644 --- a/utils/src/test/java/org/onap/policy/common/utils/network/NetworkUtilTest.java +++ b/utils/src/test/java/org/onap/policy/common/utils/network/NetworkUtilTest.java @@ -32,7 +32,7 @@ public class NetworkUtilTest { @Test public void test() throws InterruptedException, IOException { assertNotNull(NetworkUtil.IPv4_WILDCARD_ADDRESS); - assertFalse(NetworkUtil.isTcpPortOpen("localhost", 8080, 1, 5)); + assertFalse(NetworkUtil.isTcpPortOpen("localhost", 8180, 1, 5)); assertNotNull(NetworkUtil.getHostname()); assertNotNull(NetworkUtil.getHostIp()); } |