convos-chat / linkembedder

Embed / expand oEmbed resources and other URL / links
6 stars 2 forks source link

t/serve.t started to fail (with newest Mojolicious?) #22

Closed eserte closed 3 years ago

eserte commented 3 years ago

The test suite started to fail on my smoker systems:

#   Failed test '400 Bad Request'
#   at t/serve.t line 25.
#          got: '404'
#     expected: '400'

#   Failed test 'content is similar'
#   at t/serve.t line 25.
#                   '<!DOCTYPE html>
# <!-- Request ID: jCXyAk9vwlpw -->
# <html>
#   <head>
#     <title>Page Not Found (development mode)</title>
#     <meta http-equiv="Pragma" content="no-cache">
...
#     </footer>
#   </body>
# </html>
# '
#     doesn't match '(?^u:^cb\(\{.*"title":"example page".*\}\)$)'
# Looks like you failed 10 tests of 28.
t/serve.t .............. 
Dubious, test returned 10 (wstat 2560, 0xa00)
Failed 10/28 subtests 

This seems to happen with Mojolicious 9.11+. Here's the statistical analysis:

****************************************************************
Regression 'mod:Mojolicious'
****************************************************************
Name                   Theta          StdErr     T-stat
[0='const']           1.0000          0.0000    10754762396631854.00
[1='eq_8.12']         0.0000          0.0000       0.49
[2='eq_8.17']         0.0000          0.0000       1.06
[3='eq_8.40']         0.0000          0.0000       1.48
[4='eq_8.41']         0.0000          0.0000       0.97
[5='eq_8.43']         0.0000          0.0000       1.48
[6='eq_8.58']         0.0000          0.0000       1.06
[7='eq_8.65']         0.0000          0.0000       0.00
[8='eq_8.67']        -0.0000          0.0000      -0.28
[9='eq_8.68']         0.0000          0.0000       0.42
[10='eq_8.69']        0.0000          0.0000       0.97
[11='eq_8.70']        0.0000          0.0000       2.23
[12='eq_8.71']        0.0000          0.0000       0.28
[13='eq_8.72']        0.0000          0.0000       1.18
[14='eq_9.11']       -1.0000          0.0000    -9619351920290954.00
[15='eq_9.12']       -1.0000          0.0000    -8781226725539987.00
[16='eq_9.13']       -1.0000          0.0000    -10495573407417170.00

R^2= 1.000, N= 125, K= 17
****************************************************************
jhthorsen commented 3 years ago

Thank you! This should be fixed in 1.18.