Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix the flaky batches test #5175

Merged
merged 1 commit into from
Dec 18, 2024
Merged

fix the flaky batches test #5175

merged 1 commit into from
Dec 18, 2024

Conversation

irevoire
Copy link
Member

What does this PR do?

I finally reproduced the flaky test in the CI here: https://github.com/meilisearch/meilisearch/actions/runs/12390709982/job/34586313125

I cannot reproduce it locally even with cargo flaky --iter 2000 so I'm not 100% my fix will work.
But what I did was definitely part of the flakyness of the tests, we were querying a batch that could in some cases not be started.
That worked well for the tasks since an enqueued task is already written on disk, but since the batch do not exist if they're not processing they were just missing.


I also changed what we were doing because there is no point in doing an indexing process for this test

@irevoire irevoire added the maintenance Issue about maintenance (CI, tests, refacto...) label Dec 18, 2024
@irevoire irevoire added this to the v1.13.0 milestone Dec 18, 2024
@irevoire irevoire requested a review from dureuill December 18, 2024 10:56
Copy link
Contributor

@dureuill dureuill left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bors merge

Copy link
Contributor

meili-bors bot commented Dec 18, 2024

@meili-bors meili-bors bot merged commit 0822378 into main Dec 18, 2024
10 checks passed
@meili-bors meili-bors bot deleted the fix-flaky-batches-test branch December 18, 2024 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Issue about maintenance (CI, tests, refacto...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants