[check_postgres] [commit] Boost size to account for other tests
check_postgres at bucardo.org
check_postgres at bucardo.org
Fri Apr 24 19:07:40 UTC 2009
Committed by Greg Sabino Mullane <greg at endpoint.com>
Boost size to account for other tests
---
t/02_database_size.t | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/t/02_database_size.t b/t/02_database_size.t
index 2dc17f9..ee35844 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);
}
--
1.6.0.5
More information about the Check_postgres
mailing list