Skip to content

Commit e821862

Browse files
committed
inlining timeout
1 parent 0e7ef0b commit e821862

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/beam_PreCommit_Python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ jobs:
129129
with:
130130
gradle-command: :sdks:python:test-suites:tox:py${{steps.set_py_ver_clean.outputs.py_ver_clean}}:preCommitPy${{steps.set_py_ver_clean.outputs.py_ver_clean}}
131131
arguments: |
132-
-Pposargs="--ignore=apache_beam/dataframe/ --ignore=apache_beam/ml/ --ignore=apache_beam/examples/ --ignore=apache_beam/runners/ --ignore=apache_beam/transforms/" \
132+
-Pposargs="--ignore=apache_beam/dataframe/ --ignore=apache_beam/ml/ --ignore=apache_beam/examples/ --ignore=apache_beam/runners/ --ignore=apache_beam/transforms/ --test-pipeline-options=--job_server_timeout=600" \
133133
-PpythonVersion=${{ matrix.python_version }}
134134
- name: Archive Python Test Results
135135
uses: actions/upload-artifact@v4

sdks/python/tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ list_dependencies_command = {envbindir}/python.exe {envbindir}/pip.exe freeze
101101
extras = test,hadoop,gcp,interactive,dataframe,aws,azure
102102
commands =
103103
python apache_beam/examples/complete/autocomplete_test.py
104-
bash {toxinidir}/scripts/run_pytest.sh {envname} "{posargs}" "--test-pipeline-options=--job_server_timeout=600"
104+
bash {toxinidir}/scripts/run_pytest.sh {envname} "{posargs}"
105105

106106
[testenv:py{310,311}-ml]
107107
# Don't set TMPDIR to avoid "AF_UNIX path too long" errors in certain tests.
@@ -175,7 +175,7 @@ setenv =
175175
# NOTE: we could add ml_test to increase the collected code coverage metrics, but it would make the suite slower.
176176
extras = test,hadoop,gcp,interactive,dataframe,aws,redis
177177
commands =
178-
bash {toxinidir}/scripts/run_pytest.sh {envname} "{posargs}" "--test-pipeline-options=--job_server_timeout=600 --cov-report=xml --cov=. --cov-append"
178+
bash {toxinidir}/scripts/run_pytest.sh {envname} "{posargs}" "--cov-report=xml --cov=. --cov-append"
179179

180180
[testenv:lint]
181181
# Don't set TMPDIR to avoid "AF_UNIX path too long" errors in pylint.

0 commit comments

Comments
 (0)