1 --- gitdb-4.0.11/gitdb/test/test_example.py.orig
2 +++ gitdb-4.0.11/gitdb/test/test_example.py
10 class TestExamples(TestBase):
12 + @pytest.mark.skip(reason="always fails: https://github.com/gitpython-developers/gitdb/issues/70")
14 ldb = LooseObjectDB(os.path.join(self.gitrepopath, 'objects'))
16 --- gitdb-4.0.11/gitdb/test/db/test_git.py.orig
17 +++ gitdb-4.0.11/gitdb/test/db/test_git.py
19 from gitdb.base import OStream, OInfo
20 from gitdb.util import bin_to_hex
25 class TestGitDB(TestDBBase):
27 + @pytest.mark.skip(reason="always fails: https://github.com/gitpython-developers/gitdb/issues/70")
28 def test_reading(self):
29 gdb = GitDB(os.path.join(self.gitrepopath, 'objects'))
31 --- gitdb-4.0.11/gitdb/test/db/test_ref.py.orig
32 +++ gitdb-4.0.11/gitdb/test/db/test_ref.py
40 class TestReferenceDB(TestDBBase):
44 alt_file.write(alt.encode("utf-8") + b"\n")
46 + @pytest.mark.skip(reason="always fails: https://github.com/gitpython-developers/gitdb/issues/70")
48 def test_writing(self, path):
49 alt_path = os.path.join(path, 'alternates')
50 --- gitdb-4.0.11/gitdb/test/performance/test_pack.py.orig
51 +++ gitdb-4.0.11/gitdb/test/performance/test_pack.py
59 class TestPackedDBPerformance(TestBigRepoR):
61 + @pytest.mark.skip(reason="always fails: https://github.com/gitpython-developers/gitdb/issues/70")
62 def test_pack_random_access(self):
63 pdb = PackedDB(os.path.join(self.gitrepopath, "objects/pack"))
66 print("PDB: Obtained %i streams by sha and read all bytes totallying %i KiB ( %f KiB / s ) in %f s ( %f streams/s )" %
67 (max_items, total_kib, total_kib / (elapsed or 1), elapsed, max_items / (elapsed or 1)), file=sys.stderr)
69 + @pytest.mark.skip(reason="always fails: https://github.com/gitpython-developers/gitdb/issues/70")
70 def test_loose_correctness(self):
71 """based on the pack(s) of our packed object DB, we will just copy and verify all objects in the back
72 into the loose object db (memory).
75 # end for each sha to copy
77 + @pytest.mark.skip(reason="always fails: https://github.com/gitpython-developers/gitdb/issues/70")
78 def test_correctness(self):
79 pdb = PackedDB(os.path.join(self.gitrepopath, "objects/pack"))
80 # disabled for now as it used to work perfectly, checking big repositories takes a long time
81 --- gitdb-4.0.11/gitdb/test/performance/test_pack_streaming.py.orig
82 +++ gitdb-4.0.11/gitdb/test/performance/test_pack_streaming.py
90 class CountedNullStream(NullStream):
94 class TestPackStreamingPerformance(TestBigRepoR):
96 + @pytest.mark.skip(reason="always fails: https://github.com/gitpython-developers/gitdb/issues/70")
97 def test_pack_writing(self):
98 # see how fast we can write a pack from object streams.
99 # This will not be fast, as we take time for decompressing the streams as well
101 print(sys.stderr, "PDB Streaming: Wrote pack of size %i kb in %f s (%f kb/s)" %
102 (total_kb, elapsed, total_kb / (elapsed or 1)), sys.stderr)
104 + @pytest.mark.skip(reason="always fails: https://github.com/gitpython-developers/gitdb/issues/70")
105 def test_stream_reading(self):
107 pdb = PackedDB(os.path.join(self.gitrepopath, "objects/pack"))