fix suite/sphinx/suite.pm to not start searchd twice

This commit is contained in:
Sergei Golubchik 2014-02-14 14:08:16 +01:00
parent 9d5731ef1b
commit 5a21dc7df1

View File

@ -71,6 +71,7 @@ sub searchd_start {
my ($sphinx, $test) = @_; # My::Config::Group, My::Test
return unless $exe_sphinx_indexer and $exe_sphinx_searchd;
return if $sphinx->{proc}; # Already started
# First we must run the indexer to create the data.
my $sphinx_data_dir= "$::opt_vardir/" . $sphinx->name();