apache/incubator-brooklyn — pull request #360 by aledsage (2014-11-26 10:57:43+00:00)
Title: Mark tests in NetworkingUtilsTest as integration

- For tests that open a port, mark them as integration because failing on apache jenkins.

e.g. see failure in https://builds.apache.org/job/incubator-brooklyn-master-build/org.apache.brooklyn$brooklyn-utils-common/271/testReport/junit/brooklyn.util.net/NetworkingUtilsTest/testIsPortAvailableReportsFalseWhenPortIsInUse/

```
Error Message

could not get a port expected object to not be null
Stacktrace

java.lang.AssertionError: could not get a port expected object to not be null
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.assertNotNull(Assert.java:404)
at brooklyn.util.net.NetworkingUtilsTest.testIsPortAvailableReportsFalseWhenPortIsInUse(NetworkingUtilsTest.java:130)
Standard Output

2014-11-26 01:16:37,299 INFO TESTNG INVOKING: "Surefire test" - brooklyn.util.net.NetworkingUtilsTest.testIsPortAvailableReportsFalseWhenPortIsInUse()
2014-11-26 01:16:37,931 INFO TESTNG FAILED: "Surefire test" - brooklyn.util.net.NetworkingUtilsTest.testIsPortAvailableReportsFalseWhenPortIsInUse() finished in 631 ms
java.lang.AssertionError: could not get a port expected object to not be null
at brooklyn.util.net.NetworkingUtilsTest.testIsPortAvailableReportsFalseWhenPortIsInUse(NetworkingUtilsTest.java:130)
```