Hi Noel

I just updated to the latest cucumber/cucumber-rails/capybara on an app that 
uses Thinking Sphinx - and once I'd run the cucumber:install generator and set 
DatabaseCleaner to use :truncation instead of :transaction strategy, it all 
worked fine.

Does increasing the sleep time help you at all? Is there anything in the Sphinx 
or test logs?

-- 
Pat

On 25/06/2011, at 6:11 AM, Noel Rappin wrote:

> I updated my application from Cucumber 0.10.2 and from Capybara 0.4.1
> both to 1.0, and all my tests using Thinking Sphinx failed.
> 
> I didn't change my configuration at all, and the tests previously
> passed, but it appears that the test step to populate the index taken
> from the docs:
> 
> Given 'the Sphinx indexes are updated' do
>  # Update all indexes
>  ThinkingSphinx::Test.index
>  sleep(0.25) # Wait for Sphinx to catch up
> end
> 
> Is no longer working.
> 
> Has anybody seen this issue?
> 
> Thanks,
> 
> Noel
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Thinking Sphinx" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/thinking-sphinx?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/thinking-sphinx?hl=en.

Reply via email to