Restore ability to handle underdefined root (t/prefetch/incomplete.t)
[dbsrgits/DBIx-Class.git] / xt / dbictest_unlink_guard.t
CommitLineData
574d9b69 1use warnings;
2use strict;
3
4use Test::More;
5use lib 't/lib';
6use DBICTest;
7
8# Once upon a time there was a problem with a leaking $sth
9# which in turn delayed the $dbh destruction, which in turn
10# made the inode comaprison fire at the wrong time
11# This simulates the problem without doing much else
12for (1..2) {
13 my $schema = DBICTest->init_schema( sqlite_use_file => 1 );
14 $schema->storage->ensure_connected;
15 isa_ok ($schema, 'DBICTest::Schema');
16}
17
18done_testing;
19