Repository navigation
test(utilities): test_config_unit's subprocess timeout goes through scale_timeout (#3246) - #3249
Merged
Merged
Conversation
Owner
Author
|
Good to go at
|
Contributor
|
Coverage: 94.98% (unit tier, Python 3.15,
Per-file detail: the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Please follow the guide below
Put an
xinto every box [ ] that applies to your pull request (like this: [x])Use the Preview tab to see how your pull request will look
Searched for similar pull requests
Followed the coding style (
make pylint,make mypy,make isort)make testpasses, and a test case covers the changeDescribed the user-visible change below and left its changelog entry to the maintainer, keeping
docs/source/changelog/andCHANGELOG.mdout of the diff, if the change is user-visible: N/A — centralisedWhat is the purpose of your pull request?
Tick the commit type your subject line carries.
fix— corrects a defectfeat— adds a featureperf— changes performance, not behaviourrefactor— changes neither behaviour nor performancetest— tests onlydocs— documentation onlyci— workflows or build toolingrelease— bumps the version or rolls up a distributionchore— anything elseAlso tick if it regenerates constant or registry tables, members keeping their numeric values (the
constlabel)Description of your pull request and other information
Follow-up to #3246.
runintests/utilities/test_config_unit.pygives its childscale_timeout(120)instead of a literal120, soPCAPKIT_TEST_TIMEOUT_SCALEstretches it as test(utilities): the excepthook tests' 30-second subprocess timeout trips on GraalPy's slow start (#3246) #3248 did for every other subprocess hang guard. test(utilities): the excepthook tests' 30-second subprocess timeout trips on GraalPy's slow start (#3246) #3248 skipped this file because feat(utilities): a PCAPKIT_MIMIC switch that follows Wireshark, dpkt or Scapy where each departs from an RFC pcapkit honours (#3230) #3240 held it, and feat(utilities): a PCAPKIT_MIMIC switch that follows Wireshark, dpkt or Scapy where each departs from an RFC pcapkit honours (#3230) #3240 has since merged.scale_timeoutis imported fromtests._supportas in the neighbouringtests/utilitiesmodules.tests/_tiers.py's_gitstays literal, as test(utilities): the excepthook tests' 30-second subprocess timeout trips on GraalPy's slow start (#3246) #3248 decided, since that module never importstests._support.Tests:
tests/utilities/test_config_unit.py(44 passed) andtests/test_support_helpers.py(61 passed, 1 skipped) pass. A probe spying onsubprocess.runsawrun's timeout at 240 underPCAPKIT_TEST_TIMEOUT_SCALE=2and 120 unset, and the module passes under the scale.tests/project: 2435 passed. Its 5 failures aretest_conda_dev_release_gate_2458.pysubtests, red only because this host's barepythonlackspackaging. With the venv onPATH, they pass.