[java-idp-integration-tests] 08/08: Add '8080' system property to not use random ports.
Tom Zeller
tzeller at dragonacea.biz
Tue Aug 2 13:28:54 EDT 2016
This is an automated email from the git hooks/post-receive script.
tzeller pushed a commit to branch master
in repository java-idp-integration-tests.
View the commit online:
http://git.shibboleth.net/view/?p=java-idp-integration-tests.git;a=commit;h=8bb0afa9dcf5df528eef1f547c3bf5f560879de9
commit 8bb0afa9dcf5df528eef1f547c3bf5f560879de9
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Tue Jul 26 15:38:17 2016 -0500
Add '8080' system property to not use random ports.
---
src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java b/src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java
index de8b33b..6a4231d 100644
--- a/src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java
+++ b/src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java
@@ -511,6 +511,10 @@ public abstract class BaseIntegrationTest
*/
@BeforeClass(enabled = true)
public void setUpAvailablePorts() {
+ if (Boolean.getBoolean("8080")) {
+ return;
+ }
+
final SortedSet<Integer> ports = SocketUtils.findAvailableTcpPorts(4, 20000, 30000);
final Iterator<Integer> iterator = ports.iterator();
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list