From: Peter Rabbitson Date: Wed, 26 Dec 2012 09:06:54 +0000 (+0100) Subject: No reason to run this test at all until MC is rewritten X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=dd5b7bd404adf28c65fb0c579a1058a71c4b64f2;p=dbsrgits%2FDBIx-Class-Historic.git No reason to run this test at all until MC is rewritten --- diff --git a/t/multi_create/reentrance_count.t b/t/multi_create/reentrance_count.t index c4649ed..4184f06 100644 --- a/t/multi_create/reentrance_count.t +++ b/t/multi_create/reentrance_count.t @@ -2,6 +2,10 @@ use strict; use warnings; use Test::More; +BEGIN { + plan skip_all => 'Disable test entirely until multicreate is rewritten in terms of subqueries'; +} + use Test::Exception; use lib qw(t/lib); use DBICTest; @@ -12,9 +16,6 @@ my $query_stats; $schema->storage->debugcb (sub { push @{$query_stats->{$_[0]}}, $_[1] }); $schema->storage->debug (1); -TODO: { - local $TODO = 'This is an optimization task, will wait... a while'; - lives_ok (sub { undef $query_stats; $schema->resultset('Artist')->create ({ @@ -173,6 +174,4 @@ lives_ok (sub { || $ENV{DBIC_MULTICREATE_DEBUG} && diag join "\n", @{$query_stats->{SELECT} || []}; }); -} - done_testing;