Browse Source

Merge pull request #7667 from ThomasWaldmann/skip-sparse-test-win32-master

test_sparse_file: skip test on win32
TW 1 năm trước cách đây
mục cha
commit
349514446f
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      src/borg/testsuite/archiver/extract_cmd.py

+ 2 - 0
src/borg/testsuite/archiver/extract_cmd.py

@@ -163,6 +163,8 @@ class ArchiverTestCase(ArchiverTestCaseBase):
         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)