File: fix-tests-timings.patch

package info (click to toggle)
gnustep-base 1.31.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 26,580 kB
  • sloc: objc: 239,446; ansic: 36,519; cpp: 122; sh: 112; makefile: 100; xml: 32
file content (28 lines) | stat: -rw-r--r-- 843 bytes parent folder | download | duplicates (2)
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
27
28
From: Eric Heintzmann <heintzmann.eric@free.fr>
Description: Lengthen the time the tests wait for process startup.
Forwarded: not-needed
Last-Update: 2022-12-31
---

--- a/Tests/base/NSURLConnection/Helpers/NSURLConnectionTest.m
+++ b/Tests/base/NSURLConnection/Helpers/NSURLConnectionTest.m
@@ -7,7 +7,7 @@
 /* the runloop's time slice */
 #define TIMING 0.1
 /* the max duration of a test */
-#define MAXDURATION 3.0
+#define MAXDURATION 5.0
 
 @interface NSURLConnectionTest (Private)
 
--- a/Tests/base/NSURLConnection/Helpers/TestWebServer.m
+++ b/Tests/base/NSURLConnection/Helpers/TestWebServer.m
@@ -41,7 +41,7 @@
 #define TIMING 0.1
 /* the maximum duration of running of the SimpleWebServer instance
    after which the server must be shut down */
-#define MAXDURATION 3.0
+#define MAXDURATION 5.0
 
 @implementation TestWebServer