test: adapt test-v8-serdes for V8 9.9 · nodejs/node@0854fce · GitHub
Skip to content

Commit 0854fce

Browse files
committed
test: adapt test-v8-serdes for V8 9.9
V8 changed the serialization format so we cannot expect that a value serialized by an old version can be reserialized to the same bytes. Change the test to expect that deserialization of the old value still works. Add another test which is expected to fail when the format changes so that we are aware when it happens and can call it out in the release notes. Closes: #41519 PR-URL: #42657 Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
1 parent 40bc080 commit 0854fce

1 file changed

Lines changed: 27 additions & 4 deletions

File tree

test/parallel/test-v8-serdes.js

Lines changed: 27 additions & 4 deletions

0 commit comments

Comments
 (0)