Subject: | Tests fail (without a mysql db?) |
On most smoker systems the test is failing like this:
...
PERL_DL_NONLAZY=1 "/usr/perl5.28.1p/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
DBI connect('test','',...) failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) at /home/cpansand/.cpan/build/2019040821/CGI-Session-Driver-flexmysql-0.2.04-0/blib/lib/CGI/Session/Driver/flexmysql.pm line 21.
(in cleanup) Can't call method "commit" on unblessed reference at /home/cpansand/.cpan/build/2019040821/CGI-Session-Driver-flexmysql-0.2.04-0/blib/lib/CGI/Session/Driver/flexmysql.pm line 136.
(in cleanup) DBI connect('test','',...) failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) at /home/cpansand/.cpan/build/2019040821/CGI-Session-Driver-flexmysql-0.2.04-0/blib/lib/CGI/Session/Driver/flexmysql.pm line 21.
(in cleanup) Can't call method "commit" on unblessed reference at /home/cpansand/.cpan/build/2019040821/CGI-Session-Driver-flexmysql-0.2.04-0/blib/lib/CGI/Session/Driver/flexmysql.pm line 136.
# Looks like your test exited with 2 just after 1.
t/1.t ..
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/3 subtests
...
Maybe the test should check if there's a database suitable for testing available, or use something like Test::mysqld or so...