[Rt-commit] rt branch, 4.2/fts-indexer-errors, repushed

Alex Vandiver alexmv at bestpractical.com
Mon Mar 16 19:45:19 EDT 2015


The branch 4.2/fts-indexer-errors was deleted and repushed:
       was 277ef05aea9b9e5796a23224bd8c9054a2adde33
       now a3e7081db3be9716563b00c139c658f9bc9d4007

1:  5eb8b53 = 1:  5eb8b53 Refactor shared error handler for postgres error conditions
2:  859d5c4 = 2:  859d5c4 Catch "invalid memory alloc request size ..." errors
3:  ecb3442 = 3:  ecb3442 Hide errors from the DBH that will get their own via the indexer
4:  277ef05 ! 4:  a3e7081 Drop the severity of known indexing failures to "info"
    @@ -43,3 +43,21 @@
              } else {
                  die "Attachment $id cannot be indexed: " . $dbh->errstr;
              }
    +
    +diff --git a/t/fts/indexed_pg.t b/t/fts/indexed_pg.t
    +--- a/t/fts/indexed_pg.t
    ++++ b/t/fts/indexed_pg.t
    +@@
    +     { Subject => 'Long content',  Content => $content  },
    +     { Subject => 'More short',    Content => '50' },
    + );
    +-
    +-my ($exit_code, $output) = RT::Test->run_and_capture(
    +-    command => $RT::SbinPath .'/rt-fulltext-indexer'
    +-);
    +-like($output, qr/string is too long for tsvector/, "Got a warning for the ticket");
    +-ok(!$exit_code, "set up index");
    ++sync_index();
    + 
    + # The long content is skipped entirely
    + run_tests(



More information about the rt-commit mailing list