Commit cba646ff1ffba2d31f2b7d85f5728f1c487b8bcd

Authored by Andrew Kane
1 parent ea07a44f

Fixed flaky test

Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
test/reindex_test.rb
... ... @@ -166,6 +166,9 @@ class ReindexTest < Minitest::Test
166 166 def test_callbacks_queue
167 167 skip unless defined?(ActiveJob) && defined?(Redis)
168 168  
  169 + # TODO figure out which earlier test leaves records in index
  170 + Product.reindex
  171 +
169 172 reindex_queue = Product.searchkick_index.reindex_queue
170 173 reindex_queue.clear
171 174  
... ...