Skip to content

Make STORE_DURATIONS_SETUP_AND_TEARDOWN_THRESHOLD a controllable env var#119

Open
kavanase wants to merge 2 commits intojerry-git:masterfrom
kavanase:threshold_env_var
Open

Make STORE_DURATIONS_SETUP_AND_TEARDOWN_THRESHOLD a controllable env var#119
kavanase wants to merge 2 commits intojerry-git:masterfrom
kavanase:threshold_env_var

Conversation

@kavanase
Copy link
Copy Markdown

@kavanase kavanase commented Apr 2, 2026

Description

@jerry-git thank you for developing such a useful package!

From some testing, I found that we can mostly achieve the goals of #106 (ignoring class setup time) by modifying the STORE_DURATIONS_TEARDOWN_THRESHOLD value in src/pytest_split/plugin.py. This is a tiny change to just make that constant controllable through an environment variable.

Checklist

  • Tests covering the new functionality have been added
  • Documentation has been updated OR the changes are too minor to be documented
  • The Changes are listed in the CHANGELOG.md OR the changes are insignificant

@kavanase kavanase requested a review from jerry-git as a code owner April 2, 2026 23:21
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.

1 participant