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

Little test startup speedups #9094

Merged
merged 2 commits into from
Sep 24, 2024
Merged

Little test startup speedups #9094

merged 2 commits into from
Sep 24, 2024

Conversation

hlinnaka
Copy link
Contributor

see commit messages for details

Copy link

github-actions bot commented Sep 22, 2024

5003 tests run: 4838 passed, 1 failed, 164 skipped (full report)


Failures on Postgres 17

  • test_storage_controller_heartbeats[failure3]: debug-x86-64
# Run all failed tests locally:
scripts/pytest -vv -n $(nproc) -k "test_storage_controller_heartbeats[debug-pg17-failure3]"
Flaky tests (6)

Postgres 17

Postgres 16

Postgres 15

Code coverage* (full report)

  • functions: 32.1% (7458 of 23225 functions)
  • lines: 49.9% (60105 of 120340 lines)

* collected from Rust tests only


The comment gets automatically updated with the latest test results
356f9b7 at 2024-09-23T23:31:26.231Z :recycle:

After initdb, we configure it with "fsync=off" anyway.
Even with the 100 ms interval, on my laptop the pageserver always
becomes available on second attempt, so this saves about 900 ms at
every test startup.
Copy link
Contributor

@MMeent MMeent left a comment

Choose a reason for hiding this comment

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

LGTM

@hlinnaka hlinnaka merged commit 2f7ceca into main Sep 24, 2024
80 of 81 checks passed
@hlinnaka hlinnaka deleted the speedup-tests-3 branch September 24, 2024 14:16
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.

3 participants