Subject: | Hash randomization (?) issue in tests |
Starting with 5.17.x (probably 5.17.6, the introduction of hash randomization) tests fail randomly:
http://matrix.cpantesters.org/?dist=XML-SAX-Builder%200.02
Test log looks like this:
# Failed test 'got xml with multiple namespace'
# at t/basic.t line 41.
# got: '<foo xmlns:bar='urn:bar' xmlns='urn:foo' />'
# expected: '<foo xmlns='urn:foo' xmlns:bar='urn:bar' />'
# Failed test 'complex xhtml example'
# at t/basic.t line 113.
# got: '<html xmlns='http://www.w3.org/1999/xhtml'><head><title>The Title</title><meta name='generator' content='XML::SAX::Builder' /></head><body><h1>Heading</h1><p>Paragraph & Stuff <...></p><ul><li>List Item</li><li>Another List Item</li></ul></body></html>'
# expected: '<html xmlns='http://www.w3.org/1999/xhtml'><head><title>The Title</title><meta content='XML::SAX::Builder' name='generator' /></head><body><h1>Heading</h1><p>Paragraph & Stuff <...></p><ul><li>List Item</li><li>Another List Item</li></ul></body></html>'
# Looks like you failed 2 tests of 15.
t/basic.t .......
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/15 subtests
(1 TODO test unexpectedly succeeded)