X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F39load_namespaces_stress.t;h=bfef36056fc52a30fb9b94aa23d7b2c0b308dd8c;hb=8aae794001ecccdb26c2bbd1b92c97bba9e65d79;hp=b688669c81d2eaaea5141bd50a0b3612f23f9ec3;hpb=c0329273268971824784f239f32c7246e68da9c5;p=dbsrgits%2FDBIx-Class.git diff --git a/t/39load_namespaces_stress.t b/t/39load_namespaces_stress.t index b688669..bfef360 100644 --- a/t/39load_namespaces_stress.t +++ b/t/39load_namespaces_stress.t @@ -3,8 +3,6 @@ BEGIN { do "./t/lib/ANFANG.pm" or die ( $@ || $! ) } use strict; use warnings; use Test::More; -use Time::HiRes qw/gettimeofday/; - use DBICTest; # do not remove even though it is not used @@ -29,7 +27,7 @@ EOM { package DBICTest::NS::Stress::Schema; - use base qw/DBIx::Class::Schema/; + use base qw/DBICTest::BaseSchema/; sub _findallmod { return $_[1] eq ( __PACKAGE__ . '::Result' ) @@ -41,10 +39,7 @@ EOM is (DBICTest::NS::Stress::Schema->sources, 0, 'Start with no sources'); - -note gettimeofday . ":\tload_namespaces start"; DBICTest::NS::Stress::Schema->load_namespaces; -note gettimeofday . ":\tload_namespaces finished"; is (DBICTest::NS::Stress::Schema->sources, $src_count, 'All sources attached');