Skip to content

Commit 9a91b04

Browse files
committed
test: fix test-http-agent-keepalive again
Roll it back to previous version as the http keepalive sec fix no longer adds the event listener. Signed-off-by: Santiago Gimeno <santiago.gimeno@gmail.com>
1 parent 8d1e226 commit 9a91b04

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/addons/nsolid-tracing/test-http-agent-keepalive.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ setupNSolid(common.mustSucceed(({ addresses }) => {
279279
function checkListeners(socket) {
280280
const callback = common.mustCall(() => {
281281
if (!socket.destroyed) {
282-
assert.strictEqual(socket.listenerCount('data'), 1);
282+
assert.strictEqual(socket.listenerCount('data'), 0);
283283
assert.strictEqual(socket.listenerCount('drain'), 0);
284284
// Sockets have freeSocketErrorListener.
285285
assert.strictEqual(socket.listenerCount('error'), 1);

0 commit comments

Comments
 (0)