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

reduce locking test flake #49130

Merged
merged 1 commit into from
Nov 18, 2024
Merged

Conversation

fspmarshall
Copy link
Contributor

The Locking backend compliance test was using a TTL of 5s for locks. TTLs that short have a tendency to produce flaky behavior in our CI due to the resource-constrained nature of the test env. This PR bumps the TTL to 30s. This has no effect on the "happy" path of the test, since no part of the test actually waits for a TTL to expire naturally.

Note that it's difficult to prove whether or not the flake we've observed was only due to the short TTL, or if there is some additional unknown case that can manifest as an unexpected expired lock. Even if this change doesn't fully fix flaky Locking tests, it should at least let us be more confident that flake is the result of logical errors rather than dust motes settling on the water-logged TI-86 graphing calculator that we use to run our tests.

@fspmarshall fspmarshall added this pull request to the merge queue Nov 18, 2024
Merged via the queue into master with commit dad2022 Nov 18, 2024
41 of 42 checks passed
@fspmarshall fspmarshall deleted the fspmarshall/reduce-locking-test-flake branch November 18, 2024 18:03
@public-teleport-github-review-bot

@fspmarshall See the table below for backport results.

Branch Result
branch/v15 Create PR
branch/v16 Create PR
branch/v17 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants