Subject: | Hash randomization issue in tests |
Some of the test files (e.g. t/01_redirect_filter.t) fail randomly:
# Failed test 'guid=ON should set'
# at t/01_redirect_filter.t line 69.
# got: 'http://localhost/hello?fugo=haga&hoge=fuga&guid=ON&foo=bar'
# expected: 'http://localhost/hello?guid=ON&hoge=fuga&fugo=haga&foo=bar'
# Failed test 'should not append guid=ON'
# at t/01_redirect_filter.t line 75.
# got: 'http://localhost/hello?fugo=haga&hoge=fuga&foo=bar&guid=FOO'
# expected: 'http://localhost/hello?hoge=fuga&fugo=haga&foo=bar&guid=FOO'
# Looks like you failed 2 tests of 4.
# Failed test 'do filter case with extra params'
# at t/01_redirect_filter.t line 81.
# Looks like you failed 1 test of 3.
# Failed test 'DoCoMoGUID::RedirectFilter'
# at t/01_redirect_filter.t line 111.
# Failed test 'guid=ON should set'
# at t/01_redirect_filter.t line 69.
# got: 'http://localhost/hello?hoge=fuga&fugo=haga&guid=ON&foo=bar'
# expected: 'http://localhost/hello?guid=ON&hoge=fuga&fugo=haga&foo=bar'
# Looks like you failed 1 test of 4.
# Failed test 'do filter case with extra params'
# at t/01_redirect_filter.t line 81.
# Looks like you failed 1 test of 3.
# Failed test 'DoCoMoGUID'
# at t/01_redirect_filter.t line 111.
# Looks like you failed 2 tests of 2.
t/01_redirect_filter.t ....
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests
Probably this is caused by hash randomization.