What happens if you increase the sleep value to something like 5.0? Just to be 
sure it's not a matter of how fast your computer is at telling Sphinx to update 
itself.

-- 
Pat

On 06/10/2013, at 4:14 PM, JS <[email protected]> wrote:

> Hi Pat. 
> 
> This is the cucumber step that triggers before I try to preform any test on a 
> query preformed by Thinking Sphinx. 
> 
> Given(/^the TS indexes are processed$/) do
>   ThinkingSphinx::Test.index
>   sleep(0.25)
> end
> 
> 
> On Saturday, October 5, 2013 9:51:37 PM UTC-7, Pat Allan wrote:
> Hi JS
> 
> Can you supply an example Cucumber step where you're expecting behaviour 
> that's not working? Not spotting anything obviously wrong with your current 
> setup.
> 
> -- 
> Pat
> 
> On 28/09/2013, at 6:51 AM, JS <[email protected]> wrote:
> 
>> I've tried googleing the question and tried a verity of things, however I am 
>> unable to get TS3 to output any results in my cucumber tests.
>> 
>> In my features/support/env.rb file I have the following:
>> 
>> require 'thinking_sphinx/test'
>> ThinkingSphinx::Test.init
>> ThinkingSphinx::Test.start_with_autostop
>> DatabaseCleaner.strategy = :truncation
>> 
>> In my tests I have the following before I try to have TS return any results:
>> 
>> Given(/^the TS indexes are processed$/) do
>>   ThinkingSphinx::Test.index
>>   sleep(0.25)
>> end
>> 
>> I am developing with the following:
>> 
>> Mac OSX 10.7
>> rails 3.2.13
>> gem 'mysql2',          '0.3.13'
>> gem 'thinking-sphinx', '3.0.5'
>> Using postgres (PostgreSQL) 9.2.4 as my database
>> Sphinx 2.0.9-release (rel20-r4115)
>> 
>> Please let me know if I have left anything out, or if there is any relevant 
>> documentation I am not aware of. Thanks in advance!
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Thinking Sphinx" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/thinking-sphinx.
>> For more options, visit https://groups.google.com/groups/opt_out.
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Thinking Sphinx" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/thinking-sphinx.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/thinking-sphinx.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to