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

Change test setup #2379

Closed
r-peschke opened this issue Apr 19, 2024 · 1 comment · Fixed by #2421
Closed

Change test setup #2379

r-peschke opened this issue Apr 19, 2024 · 1 comment · Fixed by #2421
Assignees
Labels
enhancement General enhancement which is neither bug nor feature
Milestone

Comments

@r-peschke
Copy link
Member

r-peschke commented Apr 19, 2024

The former test setup used truncate table for each test. This is to slow for the relational db with many tables.

The new setup creates a new database_template from existing schema-files including import of initial test data.
Each test creates the openslides-database from this template. Internally this is a fast file copy.

@r-peschke r-peschke added the enhancement General enhancement which is neither bug nor feature label Apr 19, 2024
@r-peschke r-peschke added this to the 4.2 milestone Apr 19, 2024
@r-peschke r-peschke self-assigned this Apr 19, 2024
@r-peschke r-peschke added waiting Waiting for some other PR/feature; more details in comments and removed waiting Waiting for some other PR/feature; more details in comments labels Apr 19, 2024
@r-peschke r-peschke linked a pull request Aug 26, 2024 that will close this issue
6 tasks
@r-peschke
Copy link
Member Author

related PR was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement General enhancement which is neither bug nor feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant