You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by se...@apache.org on 2019/04/21 07:21:18 UTC

[directory-server] branch master updated: Increase timeout

This is an automated email from the ASF dual-hosted git repository.

seelmann pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-server.git


The following commit(s) were added to refs/heads/master by this push:
     new fd47b1e  Increase timeout
fd47b1e is described below

commit fd47b1e125315afa9fe1d9d16130469e362160d6
Author: Stefan Seelmann <ma...@stefan-seelmann.de>
AuthorDate: Sun Apr 21 09:21:07 2019 +0200

    Increase timeout
---
 installers/src/test/docker/archive.test            | 4 ++--
 installers/src/test/docker/bin-DIRSERVER-2173.test | 2 +-
 installers/src/test/docker/bin.test                | 2 +-
 installers/src/test/docker/deb.test                | 2 +-
 installers/src/test/docker/rpm.test                | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/installers/src/test/docker/archive.test b/installers/src/test/docker/archive.test
index 00730b3..d85579d 100644
--- a/installers/src/test/docker/archive.test
+++ b/installers/src/test/docker/archive.test
@@ -25,10 +25,10 @@ NAME="apacheds-${project.version}"
 DIRNAME="${NAME}"
 
 wait_for_apacheds_up() {
-    timeout 30  sh -c "while ! nc -z localhost 10389; do sleep 1; done"
+    timeout 60  sh -c "while ! nc -z localhost 10389; do sleep 1; done"
 }
 wait_for_apacheds_down() {
-    timeout 30  sh -c "while nc -z localhost 10389; do sleep 1; done"
+    timeout 60  sh -c "while nc -z localhost 10389; do sleep 1; done"
 }
 
 # stop execution if any command fails (i.e. exits with status code > 0)
diff --git a/installers/src/test/docker/bin-DIRSERVER-2173.test b/installers/src/test/docker/bin-DIRSERVER-2173.test
index 1bd6aa8..ad7ee79 100644
--- a/installers/src/test/docker/bin-DIRSERVER-2173.test
+++ b/installers/src/test/docker/bin-DIRSERVER-2173.test
@@ -27,7 +27,7 @@ DIRNAME="${NAME}"
 SERVICE_NAME="${NAME}-default"
 
 wait_for_apacheds() {
-    timeout 30  sh -c "while ! nc -z localhost 10389; do sleep 1; done"
+    timeout 60  sh -c "while ! nc -z localhost 10389; do sleep 1; done"
 }
 
 # stop execution if any command fails (i.e. exits with status code > 0)
diff --git a/installers/src/test/docker/bin.test b/installers/src/test/docker/bin.test
index 56ad8a9..3ec4d35 100644
--- a/installers/src/test/docker/bin.test
+++ b/installers/src/test/docker/bin.test
@@ -26,7 +26,7 @@ DIRNAME="${NAME}"
 SERVICE_NAME="${NAME}-default"
 
 wait_for_apacheds() {
-    timeout 30  sh -c "while ! nc -z localhost 10389; do sleep 1; done"
+    timeout 60  sh -c "while ! nc -z localhost 10389; do sleep 1; done"
 }
 
 # stop execution if any command fails (i.e. exits with status code > 0)
diff --git a/installers/src/test/docker/deb.test b/installers/src/test/docker/deb.test
index 2aff898..cb81731 100644
--- a/installers/src/test/docker/deb.test
+++ b/installers/src/test/docker/deb.test
@@ -26,7 +26,7 @@ DIRNAME="${NAME}"
 SERVICE_NAME="${NAME}-default"
 
 wait_for_apacheds() {
-    timeout 30  sh -c "while ! nc -z localhost 10389; do sleep 1; done"
+    timeout 60  sh -c "while ! nc -z localhost 10389; do sleep 1; done"
 }
 
 # stop execution if any command fails (i.e. exits with status code > 0)
diff --git a/installers/src/test/docker/rpm.test b/installers/src/test/docker/rpm.test
index e8cb046..4838a58 100644
--- a/installers/src/test/docker/rpm.test
+++ b/installers/src/test/docker/rpm.test
@@ -35,7 +35,7 @@ DIRNAME="${NAME}"
 SERVICE_NAME="${NAME}-default"
 
 wait_for_apacheds() {
-    timeout 30  sh -c "while ! nmap -Pn -p 10389 localhost | grep "10389.*open"; do sleep 1; done"
+    timeout 60  sh -c "while ! nmap -Pn -p 10389 localhost | grep "10389.*open"; do sleep 1; done"
 }
 
 # install packages