Content-Length: 271277 | pFad | http://github.com/postgrespro/postgres/commit/0f1b0c0b60ef7b56bbccacd4307fdda8afa1a59b

96 Fix duplicated test case in TAP tests of reindexdb · postgrespro/postgres@0f1b0c0 · GitHub
Skip to content

Commit 0f1b0c0

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 262eb99 commit 0f1b0c0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/0f1b0c0b60ef7b56bbccacd4307fdda8afa1a59b

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy