projects
/
bucardo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f1b018
)
Test rebuild_index
author
Greg Sabino Mullane
<greg@endpoint.com>
Sun, 15 Mar 2015 03:26:28 +0000
(23:26 -0400)
committer
Greg Sabino Mullane
<greg@endpoint.com>
Sun, 15 Mar 2015 03:26:28 +0000
(23:26 -0400)
t/20-postgres.t
patch
|
blob
|
blame
|
history
diff --git
a/t/20-postgres.t
b/t/20-postgres.t
index 1e2e12da89e5a49971bd34ac7cbf374e02730dd8..c64a215833ce9f0a594f8369bc2fc689bb71d31b 100644
(file)
--- a/
t/20-postgres.t
+++ b/
t/20-postgres.t
@@
-461,6
+461,9
@@
$t = q{add customcols returns expected message};
$res = $bct->ctl('bucardo add customcols bucardo_test1 "SELECT id, data1, inty*30 AS inty"');
like($res, qr/\QNew columns for public.bucardo_test1: "SELECT id, data1, inty*30 AS inty"/, $t);
+## Also test the rebuild_index functionality
+$res = $bct->ctl('bucardo update sync pgtest3 rebuild_index=1');
+
## We need to restart Bucardo entirely to change this. Someday, a reload sync will be enough.
$bct->restart_bucardo($dbhX);