Skip to content

Commit 94ef7a4

Browse files
authored
test: do not skip aiohttp tests for Python 3.12 - update pytest rerun settings (#1064)
* do not skip aiohttp tests for Python 3.12 * increase number of reruns and wait time due to flaky xrootd * twice more attempts, half the delay * expand rerun regex to handle ssl and expired (xrootd) errors
1 parent a9ad84a commit 94ef7a4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/build-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767

6868
- name: Run pytest
6969
run: |
70-
python -m pytest -vv tests --reruns 3 --reruns-delay 30 --only-rerun "(?i)http|timeout|connection|socket"
70+
python -m pytest -vv tests --reruns 10 --reruns-delay 30 --only-rerun "(?i)http|ssl|timeout|expired|connection|socket"
7171
7272
vanilla-build:
7373
strategy:
@@ -91,4 +91,4 @@ jobs:
9191

9292
- name: Run pytest
9393
run: |
94-
python -m pytest -vv tests --reruns 3 --reruns-delay 30 --only-rerun "(?i)http|timeout|connection|socket"
94+
python -m pytest -vv tests --reruns 10 --reruns-delay 30 --only-rerun "(?i)http|ssl|timeout|expired|connection|socket"

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ test = [
6262
"xxhash",
6363
"zstandard",
6464
"minio",
65-
"aiohttp; python_version<\"3.12\"", # asyncio not available
65+
"aiohttp",
6666
"fsspec",
6767
"fsspec-xrootd",
68-
"s3fs; python_version<\"3.12\"", # asyncio not available
68+
"s3fs",
6969
"paramiko",
7070
"pytest>=6",
7171
"pytest-timeout",

0 commit comments

Comments
 (0)