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

op-service: Remove txmgr queue timing test #13032

Merged
merged 1 commit into from
Nov 22, 2024

Conversation

mslipper
Copy link
Collaborator

The tests in the txmgr queue were asserting that calls complete within a certain time window. This was causing flakes, particularly when the CI runner was under load. Generally we should avoid tests that use fixed durations as a way of asserting that code functions correctly.

The tests in the txmgr queue were asserting that calls complete within a certain time window. This was causing flakes, particularly when the CI runner was under load. Generally we should avoid tests that use fixed durations as a way of asserting that code functions correctly.
@mslipper mslipper requested a review from a team as a code owner November 22, 2024 16:56
@mslipper mslipper requested a review from Inphi November 22, 2024 16:56
Copy link
Contributor

@axelKingsley axelKingsley left a comment

Choose a reason for hiding this comment

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

@mslipper could we cut a ticket to make up whatever we might be losing from cutting these tests? Like, is a benchmark test warranted for the txqueue? If nothing of value is being lost, no need to cut a ticket, just a thought.

@mslipper
Copy link
Collaborator Author

I think it may be using the timings to assert that the concurrency is actually happening, which is a pattern that I've seen us use in the past. I'll reach out to Michael about what the goal of those timing checks were to see if there's any functionality we need to bring back.

@mslipper mslipper enabled auto-merge November 22, 2024 17:01
@mslipper mslipper added this pull request to the merge queue Nov 22, 2024
Merged via the queue into develop with commit ae24f01 Nov 22, 2024
45 checks passed
@mslipper mslipper deleted the bugfix/remove-timing-queue-test branch November 22, 2024 17:10
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.

2 participants