test: http2 rstStream duplicate call
This commit fixes an issue with rstStream() which checked incorrect value of rst. It also adds a test case for this fix https://github.com/nodejs/node/blob/411695e1d26565c7498992be19731bbea6b6aa58/lib/internal/http2/core.js#L928-L933
Refs: https://github.com/nodejs/node/issues/14985
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
test, http2