Codebase list node-timed-out / cda9b45
Refresh patches. Debian Janitor 2 years ago
1 changed file(s) with 9 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
44 Reviewed-By: Xavier Guimard <yadd@debian.org>
55 Last-Update: 2020-10-29
66
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;
1214
1315 +/*
1416 it('should do HTTP request with a lot of time', done => {
1517 const request = http.get('http://google.com', response => {
1618 assert.ok(response.statusCode > 300 && response.statusCode < 399);
17 @@ -32,6 +33,7 @@
19 @@ -35,6 +36,7 @@ it('should emit ETIMEDOUT when connectio
1820
19 timeout(request, 200);
21 timedOut(request, 200);
2022 });
2123 +*/
2224