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

chore: relax assertion in test_noreply_pipeline #3908

Merged
merged 1 commit into from
Oct 14, 2024
Merged

chore: relax assertion in test_noreply_pipeline #3908

merged 1 commit into from
Oct 14, 2024

Conversation

kostasrim
Copy link
Contributor

This test is flaky because it depends on how fast the client will push the commands to dragonfly. Unfortunately, the problem here is that the CI can become slow (because we might run multiple regression tests on different branches) which will cause the assertion to fail. Since we don't really test here for regression (that would be the minimum amount of pipeline commands for X) but rather that we do actually pipeline I relaxed the constraints of the assertion to "at least have one pipelined command". This should make the test pass on cases where the CI becomes slow enough for the regression to show up.

Should resolve: #3896

@kostasrim kostasrim requested a review from adiholden October 11, 2024 12:32
@kostasrim kostasrim self-assigned this Oct 11, 2024
@kostasrim
Copy link
Contributor Author

@adiholden plz let me know what you think based on the description. I think relaxing the constraints should be good

Copy link
Contributor

@dranikpg dranikpg left a comment

Choose a reason for hiding this comment

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

If it's that slow, no other options are left 🤷🏻‍♂️

@kostasrim
Copy link
Contributor Author

kostasrim commented Oct 14, 2024

If it's that slow, no other options are left 🤷🏻‍♂️

I did not have other ideas 🤷

@kostasrim kostasrim merged commit 588d6cc into main Oct 14, 2024
12 checks passed
@kostasrim kostasrim deleted the kpr2 branch October 14, 2024 06:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pymemcached_test.py::test_noreply_pipeline fails
3 participants