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 test_ts_of_lsn_api flakiness #7599

Merged
merged 10 commits into from
May 6, 2024
Merged

Conversation

arpad-m
Copy link
Member

@arpad-m arpad-m commented May 3, 2024

Changes parameters to fix the flakiness of test_ts_of_lsn_api. Already now, the amount of flakiness of the test is pretty low. With this, it's even lower.

cc #5768

Copy link

github-actions bot commented May 3, 2024

2904 tests run: 2783 passed, 0 failed, 121 skipped (full report)


Flaky tests (3)

Postgres 15

  • test_gc_aggressive: debug
  • test_pageserver_small_inmemory_layers[True]: debug

Postgres 14

  • test_gc_aggressive: debug

Code coverage* (full report)

  • functions: 31.4% (6235 of 19864 functions)
  • lines: 47.1% (46718 of 99252 lines)

* collected from Rust tests only


The comment gets automatically updated with the latest test results
5abba19 at 2024-05-06T16:49:28.991Z :recycle:

@arpad-m
Copy link
Member Author

arpad-m commented May 3, 2024

Baseline case, no patches (50 retries): one occurence.

@arpad-m
Copy link
Member Author

arpad-m commented May 3, 2024

Doubling the wait time seems to have fixed it. The test now takes 30% longer but that's fine, still below 20 seconds per run. report link.

@arpad-m
Copy link
Member Author

arpad-m commented May 3, 2024

Turning on synchronous commit still makes it occur (300 retries): one occurence.

@arpad-m arpad-m marked this pull request as ready for review May 6, 2024 12:22
@arpad-m
Copy link
Member Author

arpad-m commented May 6, 2024

report after doubling the time again and enabling synchronous commit. Not a single failure. I'm not happy about this fix because it just changes parameters around, and likely the test is still going to exhibit flakiness, but it's solving the immediate problem I'd say.

@arpad-m
Copy link
Member Author

arpad-m commented May 6, 2024

For posterity, this is the link to the log that triggered the regression.

@arpad-m arpad-m enabled auto-merge (squash) May 6, 2024 16:10
@arpad-m arpad-m merged commit f3af5f4 into main May 6, 2024
53 checks passed
@arpad-m arpad-m deleted the arpad/test_ts_of_lsn_api_flakiness branch May 6, 2024 16:41
conradludgate pushed a commit that referenced this pull request May 8, 2024
Changes parameters to fix the flakiness of `test_ts_of_lsn_api`. Already
now, the amount of flakiness of the test is pretty low. With this, it's
even lower.

cc #5768
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.

None yet

2 participants