summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Sabino Mullane2011-06-30 03:05:02 +0000
committerGreg Sabino Mullane2011-06-30 03:05:02 +0000
commit87d26be166707c79d264c225631b418bb032d985 (patch)
tree63b9dc9ae6d37c5e13e4cd3949da4718de49b0ff
parent7ca705c59cf0e1d73e95f9eda7ec44d4fcf90359 (diff)
Fix tests for new naming.
-rw-r--r--t/02_commitratio.t8
-rw-r--r--t/02_hitratio.t8
2 files changed, 8 insertions, 8 deletions
diff --git a/t/02_commitratio.t b/t/02_commitratio.t
index 6daad1e5e..018d33a79 100644
--- a/t/02_commitratio.t
+++ b/t/02_commitratio.t
@@ -1,6 +1,6 @@
#!perl
-## Test the "database_size" action
+## Test the "commitratio" action
use 5.006;
use strict;
@@ -12,12 +12,12 @@ use CP_Testing;
use vars qw/$dbh $dbh2 $SQL $count $host $t $result $user/;
-my $cp = CP_Testing->new({default_action => 'database_commitratio'});
+my $cp = CP_Testing->new({default_action => 'commitratio'});
$dbh = $cp->test_database_handle();
-my $S = q{Action 'database_commitratio'};
-my $label = 'POSTGRES_DATABASE_COMMITRATIO';
+my $S = q{Action 'commitratio'};
+my $label = 'POSTGRES_COMMITRATIO';
$cp->drop_all_tables();
diff --git a/t/02_hitratio.t b/t/02_hitratio.t
index 8564de1e0..15a738671 100644
--- a/t/02_hitratio.t
+++ b/t/02_hitratio.t
@@ -1,6 +1,6 @@
#!perl
-## Test the "database_size" action
+## Test the "hitratio" action
use 5.006;
use strict;
@@ -12,12 +12,12 @@ use CP_Testing;
use vars qw/$dbh $dbh2 $SQL $count $host $t $result $user/;
-my $cp = CP_Testing->new({default_action => 'database_hitratio'});
+my $cp = CP_Testing->new({default_action => 'hitratio'});
$dbh = $cp->test_database_handle();
-my $S = q{Action 'database_hitratio'};
-my $label = 'POSTGRES_DATABASE_HITRATIO';
+my $S = q{Action 'hitratio'};
+my $label = 'POSTGRES_HITRATIO';
$cp->drop_all_tables();