Skip to content

Commit ac7ef70

Browse files
committed
debug
1 parent 2ce76fb commit ac7ef70

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,10 @@ jobs:
1515
test:
1616
runs-on: ${{ matrix.os }}
1717
strategy:
18-
fail-fast: true
19-
18+
fail-fast: false
2019
matrix:
21-
os: [ubuntu-latest, macos-latest]
22-
pyv: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
20+
os: [ubuntu-latest]
21+
pyv: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
2322

2423
steps:
2524
- uses: actions/checkout@v4
@@ -34,4 +33,5 @@ jobs:
3433
python -m pip install -e .
3534
3635
- name: Test
36+
timeout-minutes: 2
3737
run: python -m pytest -vvs

tests/test_sshfs.py

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -327,21 +327,21 @@ def test_put_file(fs, remote_dir, file_path):
327327
assert stream.read() == b"data"
328328

329329

330-
def test_concurrency_for_raw_commands(fs, remote_dir):
331-
with fs.open(remote_dir + "/cp_data", "wb") as stream:
332-
stream.write(b"hello!")
333-
334-
with futures.ThreadPoolExecutor() as executor:
335-
cp_futures = [
336-
executor.submit(
337-
fs.cp_file,
338-
remote_dir + "/cp_data",
339-
remote_dir + f"/cp_data_{index}_{secrets.token_hex(16)}",
340-
)
341-
for index in range(16)
342-
]
343-
for future in futures.as_completed(cp_futures):
344-
future.result()
330+
# def test_concurrency_for_raw_commands(fs, remote_dir):
331+
# with fs.open(remote_dir + "/cp_data", "wb") as stream:
332+
# stream.write(b"hello!")
333+
#
334+
# with futures.ThreadPoolExecutor() as executor:
335+
# cp_futures = [
336+
# executor.submit(
337+
# fs.cp_file,
338+
# remote_dir + "/cp_data",
339+
# remote_dir + f"/cp_data_{index}_{secrets.token_hex(16)}",
340+
# )
341+
# for index in range(16)
342+
# ]
343+
# for future in futures.as_completed(cp_futures):
344+
# future.result()
345345

346346

347347
def test_modified(fs, remote_dir):

0 commit comments

Comments
 (0)