Description: drop one timeout-based test
Author: Yadd <yadd@debian.org>
Forwarded: not-needed
Last-Update: 2024-04-22

--- a/test/smtp-connection/http-proxy-client-test.js
+++ b/test/smtp-connection/http-proxy-client-test.js
@@ -79,22 +79,4 @@
             });
         });
     });
-
-    it('should fail with timeout', (t, done) => {
-        let proxyServer = proxy(http.createServer());
-        proxyServer.authenticate = (req, cb) => {
-            cb(null, req.headers['proxy-authorization'] === 'Basic dGVzdDpwZXN0');
-        };
-        proxyServer.listen(PROXY_PORT, () => {
-            httpProxyClient.timeout = 5 * 1000;
-            // using kreata.ee (178.33.49.65) as the destination. This port is not allowed by firewall so it times out
-            httpProxyClient('http://test:pest@localhost:' + PROXY_PORT, 12345, '178.33.49.65', (err, socket) => {
-                assert.ok(err);
-                assert.ok(!socket);
-                assert.strictEqual(err.code, 'ETIMEDOUT');
-
-                setImmediate(done) && proxyServer.close();
-            });
-        });
-    });
 });
