diff options
Diffstat (limited to 'src/test/modules/commit_ts/t')
-rw-r--r-- | src/test/modules/commit_ts/t/001_base.pl | 4 | ||||
-rw-r--r-- | src/test/modules/commit_ts/t/002_standby.pl | 4 | ||||
-rw-r--r-- | src/test/modules/commit_ts/t/003_standby_2.pl | 4 | ||||
-rw-r--r-- | src/test/modules/commit_ts/t/004_restart.pl | 4 |
4 files changed, 12 insertions, 4 deletions
diff --git a/src/test/modules/commit_ts/t/001_base.pl b/src/test/modules/commit_ts/t/001_base.pl index 52fca03ddb6..3f0bb9e8586 100644 --- a/src/test/modules/commit_ts/t/001_base.pl +++ b/src/test/modules/commit_ts/t/001_base.pl @@ -7,7 +7,7 @@ use strict; use warnings; use PostgreSQL::Test::Utils; -use Test::More tests => 2; +use Test::More; use PostgreSQL::Test::Cluster; my $node = PostgreSQL::Test::Cluster->new('foxtrot'); @@ -34,3 +34,5 @@ my $recovered_ts = $node->safe_psql('postgres', 'select ts.* from pg_class, pg_xact_commit_timestamp(xmin) ts where relname = \'t\'' ); is($recovered_ts, $ts, 'commit TS remains after crash recovery'); + +done_testing(); diff --git a/src/test/modules/commit_ts/t/002_standby.pl b/src/test/modules/commit_ts/t/002_standby.pl index c8791f5b0e5..ace31405e63 100644 --- a/src/test/modules/commit_ts/t/002_standby.pl +++ b/src/test/modules/commit_ts/t/002_standby.pl @@ -7,7 +7,7 @@ use strict; use warnings; use PostgreSQL::Test::Utils; -use Test::More tests => 4; +use Test::More; use PostgreSQL::Test::Cluster; my $bkplabel = 'backup'; @@ -64,3 +64,5 @@ like( $standby_ts_stderr, qr/could not get commit timestamp data/, 'expected error when primary turned feature off'); + +done_testing(); diff --git a/src/test/modules/commit_ts/t/003_standby_2.pl b/src/test/modules/commit_ts/t/003_standby_2.pl index b53ca4f8de4..16d5f13009c 100644 --- a/src/test/modules/commit_ts/t/003_standby_2.pl +++ b/src/test/modules/commit_ts/t/003_standby_2.pl @@ -7,7 +7,7 @@ use strict; use warnings; use PostgreSQL::Test::Utils; -use Test::More tests => 4; +use Test::More; use PostgreSQL::Test::Cluster; my $bkplabel = 'backup'; @@ -65,3 +65,5 @@ my $standby_ts = $standby->safe_psql('postgres', ); isnt($standby_ts, '', "standby gives valid value ($standby_ts) after promotion"); + +done_testing(); diff --git a/src/test/modules/commit_ts/t/004_restart.pl b/src/test/modules/commit_ts/t/004_restart.pl index 40d1b1a945f..808164c34da 100644 --- a/src/test/modules/commit_ts/t/004_restart.pl +++ b/src/test/modules/commit_ts/t/004_restart.pl @@ -6,7 +6,7 @@ use strict; use warnings; use PostgreSQL::Test::Cluster; use PostgreSQL::Test::Utils; -use Test::More tests => 16; +use Test::More; my $node_primary = PostgreSQL::Test::Cluster->new('primary'); $node_primary->init(allows_streaming => 1); @@ -150,3 +150,5 @@ is($after_enable_disabled_ts, '', 'timestamp of disabled tx null after re-enable'); $node_primary->stop; + +done_testing(); |