[med-svn] [ball] 03/03: new patch backported: increase Socket_test waiting
Danny Edel
dannyedel-guest at moszumanska.debian.org
Tue May 10 20:37:31 UTC 2016
This is an automated email from the git hooks/post-receive script.
dannyedel-guest pushed a commit to branch master
in repository ball.
commit 178429c141cee55725305cf4454b74a33b552d35
Author: Danny Edel <mail at danny-edel.de>
Date: Tue May 10 20:59:37 2016 +0200
new patch backported: increase Socket_test waiting
Taken from upstream commit f646875d85964ade76af5bb2db6f3675f3ae3998
---
.../increase-sleeping-time-on-Socket_test.patch | 42 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 43 insertions(+)
diff --git a/debian/patches/increase-sleeping-time-on-Socket_test.patch b/debian/patches/increase-sleeping-time-on-Socket_test.patch
new file mode 100644
index 0000000..667d802
--- /dev/null
+++ b/debian/patches/increase-sleeping-time-on-Socket_test.patch
@@ -0,0 +1,42 @@
+From f646875d85964ade76af5bb2db6f3675f3ae3998 Mon Sep 17 00:00:00 2001
+From: philthiel <thiel at informatik.uni-tuebingen.de>
+Date: Mon, 9 May 2016 12:55:35 +0200
+Subject: [PATCH] Increased sleeping time in Socket_test
+
+The test quite often failed in build slaves because startup time was too short.
+---
+ source/TEST/Socket_test.C | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/source/TEST/Socket_test.C b/source/TEST/Socket_test.C
+index 1b69460..0285425 100644
+--- a/source/TEST/Socket_test.C
++++ b/source/TEST/Socket_test.C
+@@ -54,11 +54,11 @@ CHECK([EXTRA] simple asynchronous socket transmission to/from threaded server)
+
+ Size port = server.getPort();
+
+- // starting up can take a few moments, so we wait up to 1 second
++ // starting up can take a few moments, so we wait up to 2 second
+ Size retries = 0;
+ while ((port == 0) && (retries < 10))
+ {
+- sleepFor(100);
++ sleepFor(200);
+ port = server.getPort();
+ ++retries;
+ }
+@@ -89,11 +89,11 @@ CHECK([EXTRA] simple synchronous socket transmission to/from threaded server)
+
+ Size port = server.getPort();
+
+- // starting up can take a few moments, so we wait up to 1 second
++ // starting up can take a few moments, so we wait up to 2 second
+ Size retries = 0;
+ while ((port == 0) && (retries < 10))
+ {
+- sleepFor(100);
++ sleepFor(200);
+ port = server.getPort();
+ ++retries;
+ }
diff --git a/debian/patches/series b/debian/patches/series
index 4152093..27dae4e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -10,3 +10,4 @@ adjust-PoseClustering_Test-boost-1.58.patch
disable-assign-positions-from-template.patch
fix-FingerprintSimilarityClustering.patch
fix-Python-bindings-for-Box.patch
+increase-sleeping-time-on-Socket_test.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/ball.git
More information about the debian-med-commit
mailing list