summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Paquier2021-03-02 04:18:06 +0000
committerMichael Paquier2021-03-02 04:18:06 +0000
commitc5530d8474a482d32c0d9bb099707d9a8e117f96 (patch)
tree9765123d5aef0bc71decbaa910339a30b3792eab /src
parentfabde52fab976ff782d77c80b8e2614f94f9dce1 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/bin/scripts/t/090_reindexdb.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/scripts/t/090_reindexdb.pl b/src/bin/scripts/t/090_reindexdb.pl
index 87417c86ff4..d02cca7a8d7 100644
--- a/src/bin/scripts/t/090_reindexdb.pl
+++ b/src/bin/scripts/t/090_reindexdb.pl
@@ -64,9 +64,9 @@ $node->issues_sql_like(
$node->command_fails([ 'reindexdb', '--concurrently', '-s', 'postgres' ],
'reindex system tables concurrently');
$node->issues_sql_like(
- [ 'reindexdb', '-v', '-t', 'test1', 'postgres' ],
- qr/statement: REINDEX \(VERBOSE\) TABLE public\.test1;/,
- 'reindex with verbose output');
+ [ 'reindexdb', '--concurrently', '-v', '-t', 'test1', 'postgres' ],
+ qr/statement: REINDEX \(VERBOSE\) TABLE CONCURRENTLY public\.test1;/,
+ 'reindex with verbose output concurrently');
# connection strings
$node->command_ok([qw(reindexdb --echo --table=pg_am dbname=template1)],