diff options
author | Noah Misch | 2022-02-10 02:16:59 +0000 |
---|---|---|
committer | Noah Misch | 2022-02-10 02:17:03 +0000 |
commit | 2373429975ac28307583f49416f8943e7c04c8ff (patch) | |
tree | e09bf98c3a104e9e8998314f35cb723d1b928ae2 | |
parent | 3cc89d9c3834c33f4ad3cf5d3083fd192f05c72c (diff) |
Use Test::Builder::todo_start(), replacing $::TODO.
Some pre-2017 Test::More versions need perfect $Test::Builder::Level
maintenance to find the variable. Buildfarm member snapper reported an
overall failure that the file intended to hide via the TODO construct.
That trouble was reachable in v11 and v10. For later branches, this
serves as defense in depth. Back-patch to v10 (all supported versions).
Discussion: https://postgr.es/m/20220202055556.GB2745933@rfd.leadboat.com
-rw-r--r-- | src/bin/pgbench/t/023_cic_2pc.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/pgbench/t/023_cic_2pc.pl b/src/bin/pgbench/t/023_cic_2pc.pl index 707f28c34e8..5d695819a34 100644 --- a/src/bin/pgbench/t/023_cic_2pc.pl +++ b/src/bin/pgbench/t/023_cic_2pc.pl @@ -11,7 +11,8 @@ use TestLib; use Test::More tests => 6; -local $TODO = 'filesystem bug' if TestLib::has_wal_read_bug; +Test::More->builder->todo_start('filesystem bug') + if TestLib::has_wal_read_bug; my ($node, $result); |