Moving the flask test server to pytest session scope improves the time to
run functional tests substantially. It is safe to do this since GraphQL
deals only with the archive data.
Details
Details
- Reviewers
ardumont - Group Reviewers
Reviewers - Commits
- rDGQL5cf1ac26d9f7: Move flask test server to session scope
Diff Detail
Diff Detail
- Repository
- rDGQL GraphQL API
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
Build is green
Patch application report for D8313 (id=30012)
Rebasing onto 6fb1913ff9...
Current branch diff-target is up to date.
Changes applied before test
commit 5cf1ac26d9f75983829e0c2395d71366a8bfdac4 Author: Jayesh Velayudhan <jayesh@softwareheritage.org> Date: Thu Aug 25 11:04:43 2022 +0200 Move flask test server to session scope Moving the flask test server to pytest session scope improves the time to run functional tests substantially. It is safe to do this since GraphQL deals only with the archive data.
See https://jenkins.softwareheritage.org/job/DGQL/job/tests-on-diff/125/ for more details.