Skip to content

Commit 46bdb74

Browse files
SNOW-762783: fix ci
1 parent 5101e76 commit 46bdb74

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/build_test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,15 +222,15 @@ jobs:
222222
run: python -m pip install tox>=4
223223
- name: Run tests
224224
# To run a single test on GHA use the below command:
225-
# run: python -m tox run -e `echo py${PYTHON_VERSION/\./}-single-ci | sed 's/ /,/g'`
226-
run: python -m tox run -e `echo py${PYTHON_VERSION/\./}-{extras,unit-parallel,integ-parallel,pandas-parallel,sso}-ci | sed 's/ /,/g'`
225+
run: python -m tox run -e `echo py${PYTHON_VERSION/\./}-single-ci | sed 's/ /,/g'`
226+
# run: python -m tox run -e `echo py${PYTHON_VERSION/\./}-{extras,unit-parallel,integ-parallel,pandas-parallel,sso}-ci | sed 's/ /,/g'`
227227
env:
228228
PYTHON_VERSION: ${{ matrix.python-version }}
229229
cloud_provider: ${{ matrix.cloud-provider }}
230230
PYTEST_ADDOPTS: --color=yes --tb=short
231231
TOX_PARALLEL_NO_SPINNER: 1
232232
# To specify the test name (in single test mode) pass this env variable:
233-
# SINGLE_TEST_NAME: test/path/filename.py::test_name
233+
SINGLE_TEST_NAME: test/integ/test_proxies.py::test_put_with_https_proxy_and_no_proxy_regression
234234
shell: bash
235235
- uses: actions/upload-artifact@v4
236236
if: always()

test/integ/test_proxies.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ def test_put_with_https_proxy(conn_cnx, tmp_path, mitm_proxy, monkeypatch):
3939
with conn_cnx(
4040
disable_ocsp_checks=True,
4141
login_timeout=60, # Increase timeout for Windows proxy connection
42+
network_timeout=60, # Increase socket read timeout for proxy connections
4243
) as conn:
4344
with conn.cursor() as cur:
4445
stage_name = random_string(5, "test_proxy_")
@@ -91,6 +92,7 @@ def test_put_with_https_proxy_and_no_proxy_regression(
9192
with conn_cnx(
9293
disable_ocsp_checks=True,
9394
login_timeout=60, # Increase timeout for Windows proxy connection
95+
network_timeout=60, # Increase socket read timeout for proxy connections for Windows
9496
) as conn:
9597
with conn.cursor() as cur:
9698
stage_name = random_string(5, "test_no_proxy_")

0 commit comments

Comments
 (0)