Refresh patches.
Debian Janitor
2 years ago
4 | 4 | Reviewed-By: Xavier Guimard <yadd@debian.org> |
5 | 5 | Last-Update: 2020-10-29 |
6 | 6 | |
7 | --- a/test.js | |
8 | +++ b/test.js | |
9 | @@ -7,6 +7,7 @@ | |
10 | ||
11 | const port = Math.floor((Math.random() * (60000 - 30000)) + 30000); | |
7 | Index: node-timed-out/test.js | |
8 | =================================================================== | |
9 | --- node-timed-out.orig/test.js | |
10 | +++ node-timed-out/test.js | |
11 | @@ -10,6 +10,7 @@ const port = Math.floor((Math.random() * | |
12 | const socketTimeout = socket => ('timeout' in socket) ? socket.timeout : socket._idleTimeout; | |
13 | const socketClosedValue = socket => ('timeout' in socket) ? 0 : -1; | |
12 | 14 | |
13 | 15 | +/* |
14 | 16 | it('should do HTTP request with a lot of time', done => { |
15 | 17 | const request = http.get('http://google.com', response => { |
16 | 18 | assert.ok(response.statusCode > 300 && response.statusCode < 399); |
17 | @@ -32,6 +33,7 @@ | |
19 | @@ -35,6 +36,7 @@ it('should emit ETIMEDOUT when connectio | |
18 | 20 | |
19 | timeout(request, 200); | |
21 | timedOut(request, 200); | |
20 | 22 | }); |
21 | 23 | +*/ |
22 | 24 |