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

bench: flush before shutting down #8844

Merged
merged 2 commits into from
Aug 28, 2024
Merged

Conversation

koivunej
Copy link
Member

while driving by:

  • remove the extra tenant
  • remove the extra timelines

implement this by turning the pg_compare to a yielding fixture.

evidence: https://neon-github-public-dev.s3.amazonaws.com/reports/main/10571779162/index.html#suites/9681106e61a1222669b9d22ab136d07b/3bbe9f007b3ffae1/

@koivunej koivunej added the run-benchmarks Indicates to the CI that benchmarks should be run for PR marked with this label label Aug 27, 2024
@koivunej koivunej requested a review from bayandin August 27, 2024 08:09
Copy link

github-actions bot commented Aug 27, 2024

3868 tests run: 3752 passed, 0 failed, 116 skipped (full report)


Flaky tests (2)

Postgres 16

  • test_ondemand_wal_download_in_replication_slot_funcs: release-x86-64

Postgres 14

Code coverage* (full report)

  • functions: 32.3% (7310 of 22610 functions)
  • lines: 50.4% (59086 of 117260 lines)

* collected from Rust tests only


The comment gets automatically updated with the latest test results
18c463a at 2024-08-27T20:12:24.808Z :recycle:

while driving by:
- remove the extra tenant
- remove the extra timelines

implement this by turning the pg_compare to a yielding fixture.
@bayandin bayandin force-pushed the joonas/graceful_stop_in_bench branch from e7750aa to bd5cb2a Compare August 27, 2024 12:15
@koivunej koivunej enabled auto-merge (squash) August 28, 2024 09:19
@koivunej koivunej merged commit c0ba18a into main Aug 28, 2024
71 checks passed
@koivunej koivunej deleted the joonas/graceful_stop_in_bench branch August 28, 2024 09:20
Copy link
Member

@bayandin bayandin left a comment

Choose a reason for hiding this comment

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

Nice!


# Start pg
self._pg = self.env.endpoints.create_start(branch_name, "main", self.tenant)
self._pg = self.env.endpoints.create_start("main", "main", self.tenant)
Copy link
Member

Choose a reason for hiding this comment

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

Optional, just to make it look less confusing:

Suggested change
self._pg = self.env.endpoints.create_start("main", "main", self.tenant)
self._pg = self.env.endpoints.create_start(branch_name="main", endpoint_id="main", self.tenant)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
run-benchmarks Indicates to the CI that benchmarks should be run for PR marked with this label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants