소스 검색

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

test_sparse_file: skip test on win32
TW 1 년 전
부모
커밋
349514446f
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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)