Boost size to account for other tests
authorGreg Sabino Mullane <greg@endpoint.com>
Fri, 24 Apr 2009 19:07:28 +0000 (15:07 -0400)
committerGreg Sabino Mullane <greg@endpoint.com>
Fri, 24 Apr 2009 19:07:28 +0000 (15:07 -0400)
t/02_database_size.t

index 2dc17f980444a0df9764bbb19ad3c36fb16fbd76..ee3584477498dc90f7a13c952c9c3d895c89d6b4 100644 (file)
@@ -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);
 }