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

Add COMPLEMENT_ENABLE_DIRTY_RUNS to vastly speed up test runs #677

Merged
merged 4 commits into from
Oct 18, 2023

Conversation

kegsay
Copy link
Member

@kegsay kegsay commented Oct 13, 2023

This halves the runtime of Synapse tests on SQLite. This will likely be an even bigger improvement on postgres/workers due to the setup time there being even longer.

@kegsay kegsay requested review from a team as code owners October 13, 2023 18:24
@kegsay kegsay changed the title WIP: enable dirty runs Add COMPLEMENT_ENABLE_DIRTY_RUNS to vastly speed up test runs Oct 17, 2023
Base automatically changed from kegan/rm-client-2 to main October 17, 2023 17:07
Comment on lines +45 to +46
// Use a clean deployment for these tests so the user directory isn't polluted.
deployment := complement.OldDeploy(t, b.BlueprintCleanHS)
Copy link
Contributor

Choose a reason for hiding this comment

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

Aha. Thanks.

Copy link
Contributor

@DMRobertson DMRobertson left a comment

Choose a reason for hiding this comment

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

Seems reasonable enough to me.

@kegsay kegsay merged commit 39b3b9d into main Oct 18, 2023
4 checks passed
@kegsay kegsay deleted the kegan/enable-dirty-runs branch October 18, 2023 13:23
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