Subject: | Test failures due to hash randomization in 5.17.6 |
Hey guys!
looks like perl's new hash randomization breaks some of the tests in
MooseX::Storage, in particular the ones in t/011_basic_json_w_utf8.t:
# Failed test '... got the right JSON'
# at t/011_basic_json_w_utf8.t line 48.
# got: '{"utf8_string":"ネットスーパー (Internet
Shopping)","__CLASS__":"Foo"}'
# expected: '{"__CLASS__":"Foo","utf8_string":"ネットスーパー
(Internet Shopping)"}'
# Failed test '... got the right JSON'
# at t/011_basic_json_w_utf8.t line 59.
# got: '{"utf8_string":"ネットスーパー (Internet
Shopping)","__CLASS__":"Foo"}'
# expected: '{"__CLASS__":"Foo","utf8_string":"ネットスーパー
(Internet Shopping)"}'
# Failed test '... got the right JSON'
# at t/011_basic_json_w_utf8.t line 93.
# got: '{"utf8_string":"ネットスーパー (Internet
Shopping)","__CLASS__":"Foo"}'
# expected: '{"__CLASS__":"Foo","utf8_string":"ネットスーパー
(Internet Shopping)"}'
# Looks like you failed 3 tests of 16.
t/011_basic_json_w_utf8.t ...............
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/16 subtests
Looks like those tests rely on hash key ordering without using sort, but
I'm just saying this from cpan's shell output, as I haven't actually
looked at the source.
Hope this helps! Looking forward to a new release :)