Skip to content

Commit

Permalink
tests/document-fuse: Skip the test
Browse files Browse the repository at this point in the history
Running

./tests/run-test.sh -n 0 \
  tests/test_document_fuse.py::TestDocumentFuse::test_multi_thread

works fine, but with

./tests/run-test.sh -n 0 \
  tests/test_document_fuse.py::TestDocumentFuse

the `test_multi_thread` test is failing. For now, let's skip the test
and turn it on again when we have fixed it.
  • Loading branch information
swick authored and smcv committed Jan 20, 2025
1 parent a988dd0 commit d6abe3c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/test_document_fuse.py
Original file line number Diff line number Diff line change
Expand Up @@ -1290,6 +1290,14 @@ def run_bash(cmd):
return proc.returncode == 0


# Running
# ./tests/run-test.sh -n 0 tests/test_document_fuse.py::TestDocumentFuse::test_multi_thread
# works fine, but with
# ./tests/run-test.sh -n 0 tests/test_document_fuse.py::TestDocumentFuse
# the `test_multi_thread` test is failing.
# For now, let's skip the test and turn it on again when we have fixed it.
pytest.skip("Test has a race condition which can make it fail", allow_module_level=True)

if not run_bash("fusermount3 --version"):
pytest.skip("no fusermount3", allow_module_level=True)

Expand Down

0 comments on commit d6abe3c

Please sign in to comment.