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

Possible hash randomization problem in test suite #101

Closed
eserte opened this Issue Mar 10, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@eserte

eserte commented Mar 10, 2018

With JSON-Validator-2.04 I see the following test failure, randomly, only for perls >= 5.18 (so it's possible a problem with hash randomization):

#   Failed test 'get /undef/undef/y'
#   at t/get.t line 12.
#     Structures begin differing at:
#          $got->[0][0] = 'foo'
#     $expected->[0][0] = 'first'

#   Failed test 'get /undef/undef/y flatten'
#   at t/get.t line 14.
#     Structures begin differing at:
#          $got->[0] = 'foo'
#     $expected->[0] = 'first'
# Looks like you failed 2 tests of 6.
t/get.t ................................ 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/6 subtests 

@jhthorsen jhthorsen self-assigned this Mar 11, 2018

@jhthorsen jhthorsen added the bug label Mar 11, 2018

jhthorsen added a commit that referenced this issue Mar 11, 2018

Released version 2.05
 - Fix hash randomization problem fot t/get.t #101
@jhthorsen

This comment has been minimized.

Show comment
Hide comment
@jhthorsen

jhthorsen Mar 11, 2018

Owner

Thanks! 👍

Owner

jhthorsen commented Mar 11, 2018

Thanks! 👍

@jhthorsen jhthorsen closed this Mar 11, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment