X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Ft%2Ffts%2Findexed_mysql.t;h=0a4f026260b2859bfeaab46234b36451ab47fedc;hb=b3bcbc3dda6f1b994f206c22b02acddb17ebdf1a;hp=c124ff8f8cd15c0a1dd6a23fb98d7e29e4a97992;hpb=679854b8bbc65d112071111bbd7f34a6a481fb30;p=freeside.git diff --git a/rt/t/fts/indexed_mysql.t b/rt/t/fts/indexed_mysql.t index c124ff8f8..0a4f02626 100644 --- a/rt/t/fts/indexed_mysql.t +++ b/rt/t/fts/indexed_mysql.t @@ -32,7 +32,7 @@ sub setup_indexing { command => $RT::SbinPath .'/rt-setup-fulltext-index', dba => $ENV{'RT_DBA_USER'}, 'dba-password' => $ENV{'RT_DBA_PASSWORD'}, - url => "sphinx://localhost:$port/rt", + url => "sphinx://127.0.0.1:$port/rt", ); ok(!$exit_code, "setted up index"); diag "output: $output" if $ENV{'TEST_VERBOSE'}; @@ -41,7 +41,7 @@ sub setup_indexing { mkdir $tmp; my $sphinx_conf = $output; - $sphinx_conf =~ s/.*?source rt {/source rt {/ms; + $sphinx_conf =~ s/.*?source rt \{/source rt {/ms; $sphinx_conf =~ s{\Q$RT::VarPath\E/sphinx/}{$tmp/}g; $sphinx{'config'} = File::Spec->catfile( $tmp, 'sphinx.conf' );