[Rt-commit] rt branch, 3.9-fts, updated. rt-3.9.4-51-gb852039

Ruslan Zakirov ruz at bestpractical.com
Thu Oct 21 14:59:34 EDT 2010


The branch, 3.9-fts has been updated
       via  b852039b05b88c6d3f55aa01e0e6711ab149d834 (commit)
      from  bfe54a96e908f00adce58fda0445cad811f76402 (commit)

Summary of changes:
 t/fts/indexed_pg.t |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit b852039b05b88c6d3f55aa01e0e6711ab149d834
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date:   Thu Oct 21 22:59:20 2010 +0400

    sync index after inserting data

diff --git a/t/fts/indexed_pg.t b/t/fts/indexed_pg.t
index 6606569..d23a16a 100644
--- a/t/fts/indexed_pg.t
+++ b/t/fts/indexed_pg.t
@@ -24,11 +24,13 @@ sub setup_indexing {
     );
     my ($exit_code, $output) = RT::Test->run_and_capture( %args );
     ok(!$exit_code, "setted up index") or diag "output: $output";
+}
 
-    %args = (
+sub sync_index {
+    my %args = (
         command => $RT::SbinPath .'/rt-fulltext-indexer',
     );
-    ($exit_code, $output) = RT::Test->run_and_capture( %args );
+    my ($exit_code, $output) = RT::Test->run_and_capture( %args );
     ok(!$exit_code, "setted up index") or diag "output: $output";
 }
 

-----------------------------------------------------------------------


More information about the Rt-commit mailing list