jhthorsen / json-validator

:cop: Validate data against a JSON schema
https://metacpan.org/release/JSON-Validator
56 stars 58 forks source link

t/id-keyword-draft4.t fails (with Mojolicious 8.11?) #139

Closed eserte closed 5 years ago

eserte commented 5 years ago

A new failure on my smokers:

#   Failed test 'http://127.0.0.1:25836/relative-to-the-root.json'
#   at t/id-keyword-draft4.t line 25.
# Possibly a typo in schema? Could not find "a" in "http://example.com/relative-to-the-root.json" (#a) at /usr/home/cpansand/.cpan/build/2019010220/JSON-Validator-2.19-0/blib/lib/JSON/Validator.pm line 460.
#   JSON::Validator::_resolve_ref(JSON::Validator=HASH(0x43dbc1f8), HASH(0x43e23bb8), Mojo::URL=HASH(0x43dda090)) called at /usr/home/cpansand/.cpan/build/2019010220/JSON-Validator-2.19-0/blib/lib/JSON/Validator.pm line 422
#   JSON::Validator::_resolve(JSON::Validator=HASH(0x43dbc1f8), "http://127.0.0.1:25836/relative-to-the-root.json") called at /usr/home/cpansand/.cpan/build/2019010220/JSON-Validator-2.19-0/blib/lib/JSON/Validator.pm line 177
#   JSON::Validator::load_and_validate_schema(JSON::Validator=HASH(0x43dbc1f8), "http://127.0.0.1:25836/relative-to-the-root.json") called at t/id-keyword-draft4.t line 24
#   eval {...} called at t/id-keyword-draft4.t line 24
Can't call method "get" on an undefined value at t/id-keyword-draft4.t line 29.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 just after 7.
t/id-keyword-draft4.t .................. 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/7 subtests 

Statistical analysis has a hot candidate: Mojolicious 8.11 is breaking the test suite:

****************************************************************
Regression 'mod:Mojolicious'
****************************************************************
Name                   Theta          StdErr     T-stat
[0='const']           1.0000          0.0000    74622000145158576.00
[1='eq_7.33']        -0.0000          0.0000      -0.93
[2='eq_7.51']         0.0000          0.0000       0.00
[3='eq_7.58']         0.0000          0.0000       0.00
[4='eq_7.68']         0.0000          0.0000       0.37
[5='eq_7.70']        -0.0000          0.0000      -2.96
[6='eq_7.81']         0.0000          0.0000       0.00
[7='eq_7.84']         0.0000          0.0000       0.00
[8='eq_7.88']         0.0000          0.0000       0.00
[9='eq_7.93']         0.0000          0.0000       0.00
[10='eq_8.04']        0.0000          0.0000       0.00
[11='eq_8.05']        0.0000          0.0000       0.00
[12='eq_8.06']       -0.0000          0.0000      -1.01
[13='eq_8.07']        0.0000          0.0000       0.00
[14='eq_8.09']        0.0000          0.0000       0.00
[15='eq_8.10']        0.0000          0.0000       0.00
[16='eq_8.11']       -1.0000          0.0000    -69086547619618056.00

R^2= 1.000, N= 141, K= 17
****************************************************************
jhthorsen commented 5 years ago

Thank you! This should be fixed in 3.00. (Will upload it soon)