Skip to content

Commit c5530d8

Browse files
committed
Fix duplicated test case in TAP tests of reindexdb
The same test for REINDEX (VERBOSE) was done twice, while it is clear that the second test should use --concurrently. Issue introduced in 5dc92b8, for what looks like a copy-paste mistake. Reviewed-by: Mark Dilger Discussion: https://postgr.es/m/A7AE97EA-F4B0-4CAB-8FFF-3FECD31F9D63@enterprisedb.com Backpatch-through: 12
1 parent fabde52 commit c5530d8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bin/scripts/t/090_reindexdb.pl

+3-3
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@
6464
$node->command_fails([ 'reindexdb', '--concurrently', '-s', 'postgres' ],
6565
'reindex system tables concurrently');
6666
$node->issues_sql_like(
67-
[ 'reindexdb', '-v', '-t', 'test1', 'postgres' ],
68-
qr/statement: REINDEX \(VERBOSE\) TABLE public\.test1;/,
69-
'reindex with verbose output');
67+
[ 'reindexdb', '--concurrently', '-v', '-t', 'test1', 'postgres' ],
68+
qr/statement: REINDEX \(VERBOSE\) TABLE CONCURRENTLY public\.test1;/,
69+
'reindex with verbose output concurrently');
7070

7171
# connection strings
7272
$node->command_ok([qw(reindexdb --echo --table=pg_am dbname=template1)],

0 commit comments

Comments
 (0)