From: Greg Sabino Mullane Date: Fri, 24 Apr 2009 19:07:28 +0000 (-0400) Subject: Boost size to account for other tests X-Git-Tag: 2.9.0~70 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=cdfe3c05d66213d4683f37e2faa7487441ffd381;p=check_postgres.git Boost size to account for other tests --- diff --git a/t/02_database_size.t b/t/02_database_size.t index 2dc17f980..ee3584477 100644 --- a/t/02_database_size.t +++ b/t/02_database_size.t @@ -5,8 +5,6 @@ use strict; use warnings; use Data::Dumper; -use DBI; -use Cwd; use Test::More tests => 50; use lib 't','.'; use CP_Testing; @@ -23,7 +21,7 @@ $t=qq{$S returned expected text when no warning/critical size is provided}; like ($cp->run(''), qr{^ERROR: Must provide a warning and/or critical size}, $t); for my $type (qw/b bs k kb kbs m mb mbs g gb gbs t tb tbs p pb pbs e eb ebs z zb zbs/) { - my $opt = "-w 10000$type"; + my $opt = "-w 9999999$type"; $t=qq{$S returned expected text when warning level is specified in $type}; like ($cp->run($opt), qr{^POSTGRES_DATABASE_SIZE OK:}, $t); }