Hi Pat,

Thanks for your reply. Here's a test that randomly works and then doesn't:

http://code.zhdk.ch/projects/madek/browser/trunk/spec/acceptance/manage_media_entries_spec.rb

When I try out these features in the development environment, by hand, 
everything works. Meanwhile even our ham-fisted "sphinx_reindex" method 
(calls ts:stop ts:reindex ts:start every time) doesn't work anymore. 
Yesterday it seemed that this procedure at least made things work when we 
ran rspec in the development instead of test environment, today this doesn't 
work anymore.

The index definition for MediaEntry is here:

http://code.zhdk.ch/projects/madek/browser/trunk/app/models/media_entry.rb

And we make use of xmlpipe2 to index MediaEntries:

http://code.zhdk.ch/projects/madek/browser/trunk/config/development.sphinx.conf_with_pipe

The same config file but for port 3313 is used in the test environment.

Yesterday I was convinced the culprit is some ThinkingSphinx voodoo that 
only kicks in when run in the test environment. But today I'm not so 
convinced anymore. I'm grateful for any hints, even if e.g. Steak or Rspec 
itself is the one acting up. I've been trying to get these simple tests to 
work for nearly 20 hours now and I'm grasping at straws :(

Ramón

-- 
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