Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"roundtrip of ‘data'" mixed test case fails #4278

Closed
tomduncalf opened this issue Jan 28, 2022 · 0 comments · Fixed by #4366
Closed

"roundtrip of ‘data'" mixed test case fails #4278

tomduncalf opened this issue Jan 28, 2022 · 0 comments · Fixed by #4366
Assignees

Comments

@tomduncalf
Copy link
Contributor

tomduncalf commented Jan 28, 2022

When running the mixed.ts tests, the test for "roundtrip of 'data'" is failing:

[mocha]       AssertionError: expected [ 0, 0, 0, 0 ] to deeply equal [ 4, 8, 12, 16 ]
[mocha]       + expected - actual
[mocha]
[mocha]        [
[mocha]       -  0
[mocha]       -  0
[mocha]       -  0
[mocha]       -  0
[mocha]       +  4
[mocha]       +  8
[mocha]       +  12
[mocha]       +  16
[mocha]        ]
[mocha]

and on another run...

[mocha]       AssertionError: expected [ 43, 121, 236, 62 ] to deeply equal [ 4, 8, 12, 16 ]
[mocha]       + expected - actual
[mocha]
[mocha]        [
[mocha]       -  43
[mocha]       -  121
[mocha]       -  236
[mocha]       -  62
[mocha]       +  4
[mocha]       +  8
[mocha]       +  12
[mocha]       +  16
[mocha]        ]

This looks like it could be a memory corruption bug similar to previous issues found with the mixed data type.

@tomduncalf tomduncalf changed the title “roundtrip of ‘data'" mixed test case fails "roundtrip of ‘data'" mixed test case fails Jan 28, 2022
fronck pushed a commit that referenced this issue Feb 24, 2022
* Fix for Mixed binary roundtrip issue (#4278)
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants