apache / apache/beam

PortableRunnerTest - consider using pytest-timeout

Open
#20,037 0 comments 0 reactions 0 assignees View on GitHub
bug core P3 python tests
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

If the proposal in https://issues.apache.org/jira/browse/BEAM-9009 is completed, pytest-timeout will be able to be used to do the same timeout via sigalrm logic as in the setup and teardown methods of this test class.

Imported from Jira [BEAM-9011](https://issues.apache.org/jira/browse/BEAM-9011). Original Jira may contain additional context.
Reported by: udim.

Contributor guide

Open the contributing guide

Research direction

Start with the PortableRunnerTest class and review its setup and teardown timeout logic. Check the status and implications of BEAM-9009 before evaluating pytest-timeout. Done means the test uses pytest-timeout for the equivalent timeout behavior without losing setup or teardown coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.