aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-fe/src/test/resources/CI/originalResources/scripts/apache_start_detection.groovy
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-fe/src/test/resources/CI/originalResources/scripts/apache_start_detection.groovy')
-rw-r--r--catalog-fe/src/test/resources/CI/originalResources/scripts/apache_start_detection.groovy6
1 files changed, 6 insertions, 0 deletions
diff --git a/catalog-fe/src/test/resources/CI/originalResources/scripts/apache_start_detection.groovy b/catalog-fe/src/test/resources/CI/originalResources/scripts/apache_start_detection.groovy
new file mode 100644
index 0000000000..93d732e0cd
--- /dev/null
+++ b/catalog-fe/src/test/resources/CI/originalResources/scripts/apache_start_detection.groovy
@@ -0,0 +1,6 @@
+import org.cloudifysource.dsl.utils.ServiceUtils
+
+println "apache_start_detection.groovy: port http=${PORT} ..."
+def isPortOccupied = ServiceUtils.isPortOccupied(Integer.parseInt(PORT))
+println "apache_start_detection.groovy: isPortOccupied http=${PORT} ... ${isPortOccupied}"
+return isPortOccupied