Skip to content
This repository has been archived by the owner on Jun 30, 2018. It is now read-only.

Commit

Permalink
[TEST] Another try to battle percolator test failures with sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
karmi committed Apr 12, 2014
1 parent 106635e commit 470528c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/integration/active_record_searchable_test.rb
Expand Up @@ -617,6 +617,7 @@ module ::Rails; end
delete_percolator_index if ENV['TRAVIS']
ActiveRecordModelWithPercolation.index.register_percolator_query('alert') { string 'warning' }
Tire.index('_percolator').refresh
sleep 1
end

teardown do
Expand Down

0 comments on commit 470528c

Please sign in to comment.