From 5029b43ff2ddf300c734ce704da4caf5ce63cd87 Mon Sep 17 00:00:00 2001 From: Santiago Gimeno Date: Fri, 6 Apr 2018 20:03:14 +0200 Subject: [PATCH] test: fix flaky http-client-timeout-agent Close the connection immediately after receiving the `end` event to avoid that the `timeout` event is fired before the connection closes gracefully. Move the test back to parallel. PR-URL: https://github.com/nodejs/node/pull/19856 Fixes: https://github.com/nodejs/node/issues/19804 Reviewed-By: Luigi Pinca Reviewed-By: Rich Trott --- test/{sequential => parallel}/test-http-client-timeout-agent.js | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename test/{sequential => parallel}/test-http-client-timeout-agent.js (100%) diff --git a/test/sequential/test-http-client-timeout-agent.js b/test/parallel/test-http-client-timeout-agent.js similarity index 100% rename from test/sequential/test-http-client-timeout-agent.js rename to test/parallel/test-http-client-timeout-agent.js