Skip Menu |
 

This queue is for tickets about the Mojo-Pg-Che CPAN distribution.

Report information
The Basics
Id: 128419
Status: new
Priority: 0/
Queue: Mojo-Pg-Che

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • 0.8551
  • 0.8552
  • 0.856
Fixed in: (no value)



Subject: Test suite may fail (with older Mojo::Pg?)
Download (untitled) / with headers
text/plain 2.9k
t/08-base-sql.t fails on some of my smokers: ... # Failed test 'right query' # at t/08-base-sql.t line 19. # Structures begin differing at: # $got->[0] = 'INSERT INTO "foo" ( "bar") VALUES ( ? )' # $expected->[0] = 'INSERT INTO "foo" ( "bar") VALUES ( ? ) ON CONFLICT do nothing' # Failed test 'right query' # at t/08-base-sql.t line 23. # Structures begin differing at: # $got->[0] = 'INSERT INTO "foo" ( "bar") VALUES ( ? )' # $expected->[0] = 'INSERT INTO "foo" ( "bar") VALUES ( ? ) ON CONFLICT DO NOTHING' # Failed test 'right query' # at t/08-base-sql.t line 35. # Structures begin differing at: # $got->[0] = 'INSERT INTO "foo" ( "bar") VALUES ( ? ) RETURNING *' # $expected->[0] = 'INSERT INTO "foo" ( "bar") VALUES ( ? ) ON CONFLICT do nothing RETURNING *' # Failed test 'right query' # at t/08-base-sql.t line 46. # Structures begin differing at: # $got->[0] = 'INSERT INTO "foo" ( "bar") VALUES ( ? )' # $expected->[0] = 'INSERT INTO "foo" ( "bar") VALUES ( ? ) ON CONFLICT (foo) do update set foo = ?' # Failed test 'right query' # at t/08-base-sql.t line 57. # Structures begin differing at: # $got->[0] = 'INSERT INTO "foo" ( "bar") VALUES ( ? )' # $expected->[0] = 'INSERT INTO "foo" ( "bar") VALUES ( ? ) ON CONFLICT ("foo") DO UPDATE SET "foo" = ?' # Failed test 'right query' # at t/08-base-sql.t line 68. # Structures begin differing at: # $got->[0] = 'INSERT INTO "foo" ( "bar") VALUES ( ? )' # $expected->[0] = 'INSERT INTO "foo" ( "bar") VALUES ( ? ) ON CONFLICT ("foo", "bar") DO UPDATE SET "foo" = ?' # Failed test 'right error' # at t/08-base-sql.t line 72. # '' # doesn't match '(?^:on_conflict value must be in the form \[\$target, \\\%set\])' # Failed test 'right error' # at t/08-base-sql.t line 75. # '' # doesn't match '(?^:HASHREF)' [SQL::Abstract::__ANON__] Fatal: hash passed to _order_by must have exactly one key (-desc or -asc) at t/08-base-sql.t line 82. # Tests were run but no plan was declared and done_testing() was not seen. # Looks like your test exited with 255 just after 12. t/08-base-sql.t ......... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 8/12 subtests ... This seems to happen with older Mojo::Pg (< 4.13). Statistical analysis (theta = 0 means "bad"): **************************************************************** Regression 'mod:Mojo::Pg' **************************************************************** Name Theta StdErr T-stat [0='const'] 0.0000 0.0000 0.00 [1='eq_4.06'] 0.0000 0.0000 0.00 [2='eq_4.08'] 0.0000 0.0000 0.00 [3='eq_4.11'] 0.0000 0.0000 0.00 [4='eq_4.12'] 0.0000 0.0000 0.00 [5='eq_4.13'] 1.0000 0.0000 11969365730746234.00 R^2= 1.000, N= 40, K= 6 ****************************************************************


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.