X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fstorage%2Fdbi_env.t;h=fd5f1d6ce6099a92233b9b37f993e2653ab87206;hb=4b8a53eabdb1629bacdb95f04ca8fc3718ca7c58;hp=5ef4274aa3f5223c4fe27f8d4e1865d551987ef1;hpb=442cb03d3bcf54768c832e20b0c6106542002820;p=dbsrgits%2FDBIx-Class.git diff --git a/t/storage/dbi_env.t b/t/storage/dbi_env.t index 5ef4274..fd5f1d6 100644 --- a/t/storage/dbi_env.t +++ b/t/storage/dbi_env.t @@ -1,4 +1,3 @@ -#!/usr/bin/perl use strict; use warnings; use lib qw(t/lib); @@ -8,9 +7,10 @@ use Test::Exception; BEGIN { delete @ENV{qw(DBI_DSN DBI_DRIVER)} } -my $schema; +$ENV{DBICTEST_LOCK_HOLDER} = -1; -DBICTest->init_schema(sqlite_use_file => 1); +# pre-populate +my $schema = DBICTest->init_schema(sqlite_use_file => 1); my $dbname = DBICTest->_sqlite_dbname(sqlite_use_file => 1);