graphql-perl / SQL-Translator-Producer-GraphQL

SQL::Translator producer for GraphQL schemas
https://metacpan.org/release/SQL-Translator-Producer-GraphQL
1 stars 0 forks source link

Test suite fails (with newest GraphQL::Plugin::Convert::DBIC?) #1

Closed eserte closed 5 years ago

eserte commented 5 years ago

On some of my smokers t/02-dbicschema.t fails (with a big got/expected difference).

Statistical analysis suggests that this failure happens with the newest GraphQL::Plugin::Convert::DBIC:

****************************************************************
Regression 'mod:GraphQL::Plugin::Convert::DBIC'
****************************************************************
Name                   Theta          StdErr     T-stat
[0='const']           1.0000          0.0000    65687540007369352.00
[1='eq_0.04']         0.0000          0.0000       2.84
[2='eq_0.06']         0.0000          0.0000       1.45
[3='eq_0.07']        -1.0000          0.0000    -40406027370516544.00

R^2= 1.000, N= 129, K= 4
****************************************************************
mohawk2 commented 5 years ago

Hi @eserte, thanks for the report!

I'm not quite sure how this is happening, since SQL::Translator::Producer::GraphQL got incorporated into GraphQL::Plugin::Convert::DBIC as of 0.07, with SQLTP::GQL having version 0.05. The latest doesn't have a t/02-dbicschema.t. Could you help me with which version of SQLTP::GQL is showing these failures?

mohawk2 commented 5 years ago

Also note this repo is actually now considered obsolete, see the repo front page :-)

eserte commented 5 years ago

See here: http://matrix.cpantesters.org/?dist=SQL-Translator-Producer-GraphQL%200.04

I was running my smokers in a mode where also non-indexed distributions were smoked. Probably this distribution was fetched from backpan. I think I'll have to change this setup.

Feel free to close this ticket then!

mohawk2 commented 5 years ago

I'd expect it was from backpan. Thanks for your efforts! Closing.