Skip to content

Commit

Permalink
Merge pull request #7667 from ThomasWaldmann/skip-sparse-test-win32-m…
Browse files Browse the repository at this point in the history
…aster

test_sparse_file: skip test on win32
  • Loading branch information
ThomasWaldmann committed Jun 22, 2023
2 parents c89eb98 + 45cda98 commit 3495144
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/borg/testsuite/archiver/extract_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ def test_birthtime(self):
assert same_ts_ns(sti.st_mtime_ns, sto.st_mtime_ns)
assert same_ts_ns(sto.st_mtime_ns, mtime * 1e9)

#
@pytest.mark.skipif(is_win32, reason="frequent test failures on github CI on win32")
def test_sparse_file(self):
def is_sparse(fn, total_size, hole_size):
st = os.stat(fn)
Expand Down

0 comments on commit 3495144

Please sign in to comment.