File: wait_more_for_server.patch

package info (click to toggle)
socket-wrapper 1.2.5-1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 616 kB
  • sloc: ansic: 9,649; sh: 58; makefile: 2
file content (26 lines) | stat: -rw-r--r-- 545 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Description: <short summary of the patch>
 .
Author: Laszlo Boszormenyi (GCS) <gcs@debian.org>
Forwarded: no
Bug-Debian: https://bugs.debian.org/787572
Last-Update: 2016-01-06

---

--- socket-wrapper-1.1.3.orig/tests/torture.c
+++ socket-wrapper-1.1.3/tests/torture.c
@@ -183,12 +183,12 @@ static void torture_setup_echo_srv_ip(vo
 		struct stat sb;
 
 		count++;
-		if (count > 100) {
+		if (count > 1000) {
 			break;
 		}
 
 		rc = stat(s->srv_pidfile, &sb);
-		usleep(200);
+		usleep(500);
 	} while (rc != 0);
 	assert_int_equal(rc, 0);