Skip Menu |

This queue is for tickets about the Catalyst-Plugin-Session-Store-DBI CPAN distribution.

Report information
The Basics
Id: 113522
Status: new
Priority: 0/
Queue: Catalyst-Plugin-Session-Store-DBI

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

Bug Information
Severity: Normal
Broken in: 0.16
Fixed in: (no value)



Subject: [patch] tests fail on Windows if Test::WWW::Mechanize::Catalyst is available
Because Windows cannot remove open file, so DB from 04dbi.t remains for other tests. In 05cdbi.t table sessions has different column names. Patch closes DB, so it will be deleted. -- Alexandr Ciornii, http://chorny.net
Subject: 04dbi.t.patch
--- 04dbi.t.dist 2010-03-23 23:45:22.000000000 +0200 +++ 04dbi.t 2016-04-02 12:47:44.326307200 +0300 @@ -80,5 +80,9 @@ $ua1->content_contains( "please login", "ua1 not logged in" ); $ua2->content_contains( "please login", "ua2 not logged in" ); +if ($^O eq 'MSWin32') { + $Test::WWW::Mechanize::Catalyst::APP_CLASS->_session_dbh->disconnect; + #to be able to delete DB file; +} # Clean up rmtree "$FindBin::Bin/tmp";