-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
The CPAN Testers Matrix shows mixed pass/fail results for perl >= 5.18: http://fast-matrix.cpantesters.org/?dist=Thrift-Parser%200.06
Together with such a failure it looks like a hash randomization problem:
# Failed test 'JSONProtocol generated the expected output'
# at t/200_jsonprotocol.t line 45.
# got: '[1,"add",1,1,{"2":{"i32":32},"1":{"i32":15}}]'
# expected: '[1,"add",1,1,{"1":{"i32":15},"2":{"i32":32}}]'
# Looks like you failed 1 test of 1.
t/200_jsonprotocol.t .......
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
I did not look into the code, but if JSON::XS is used, then the canonical() method may help.
Metadata
Metadata
Assignees
Labels
No labels