diff --git a/test/sequential/test-http2-timeout-large-write-file.js b/test/sequential/test-http2-timeout-large-write-file.js index f52523780dc948..922e5f99668da2 100644 --- a/test/sequential/test-http2-timeout-large-write-file.js +++ b/test/sequential/test-http2-timeout-large-write-file.js @@ -43,10 +43,6 @@ server.on('stream', common.mustCall((stream) => { 'Content-Length': content.length.toString(), 'Vary': 'Accept-Encoding' }); - stream.setTimeout(serverTimeout); - stream.on('timeout', () => { - assert.strictEqual(didReceiveData, false, 'Should not timeout'); - }); stream.end(); })); server.setTimeout(serverTimeout);