Skip to content

Commit 51adabe

Browse files
committed
fixup: make test less brittle
1 parent 08fa98c commit 51adabe

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

test/parallel/test-http2-client-rststream-before-connect.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@ const h2 = require('http2');
99
const server = h2.createServer();
1010
server.on('stream', (stream) => {
1111
stream.on('close', common.mustCall());
12-
stream.on('error', common.expectsError({
13-
code: 'ERR_HTTP2_STREAM_ERROR',
14-
type: Error,
15-
message: 'Stream closed with error code NGHTTP2_PROTOCOL_ERROR'
16-
}));
1712
stream.respond();
1813
stream.end('ok');
1914
});

0 commit comments

Comments
 (0)