Skip to content

Commit

Permalink
Merge #292
Browse files Browse the repository at this point in the history
292: Remove redundant calls to sleep in tests r=brunoocasali a=ellnix

# Pull Request

## Related issue
Fixes #291 

## What does this PR do?

## PR checklist
Please check if your PR fulfills the following requirements:
- [X] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
- [X] Have you read the contributing guidelines?
- [X] Have you made sure that the title is accurate and descriptive of the changes?



Co-authored-by: ellnix <103502144+ellnix@users.noreply.github.com>
  • Loading branch information
meili-bors[bot] and ellnix authored Oct 6, 2023
2 parents e7a1256 + c2a1182 commit bf2b82e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions spec/integration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,6 @@
@products_in_database = Product.all

Product.reindex!(MeiliSearch::Rails::IndexSettings::DEFAULT_BATCH_SIZE, true)
sleep 5
end

it 'is not synchronous' do
Expand Down Expand Up @@ -682,7 +681,6 @@
end

Restaurant.reindex!(MeiliSearch::Rails::IndexSettings::DEFAULT_BATCH_SIZE, true)
sleep 5
end

it 'paginates' do
Expand Down Expand Up @@ -738,7 +736,6 @@
10.times { Movie.create(title: Faker::Movie.title) }

Movie.reindex!(MeiliSearch::Rails::IndexSettings::DEFAULT_BATCH_SIZE, true)
sleep 5
end

it 'paginates' do
Expand Down Expand Up @@ -807,7 +804,6 @@
end

Restaurant.reindex!(MeiliSearch::Rails::IndexSettings::DEFAULT_BATCH_SIZE, true)
sleep 5
end

it 'includes _formatted object' do
Expand Down

0 comments on commit bf2b82e

Please sign in to comment.