Skip to content

Commit 61ea9bb

Browse files
committed
test(travis): enable all tests (inc perf) on TravisCI
1 parent a2e49d9 commit 61ea9bb

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

gitdb/test/performance/test_pack.py

-4
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
from gitdb.exc import UnsupportedOperation
1919
from gitdb.db.pack import PackedDB
2020
from gitdb.utils.compat import xrange
21-
from gitdb.test.lib import skip_on_travis_ci
2221

2322
import sys
2423
import os
@@ -27,7 +26,6 @@
2726

2827
class TestPackedDBPerformance(TestBigRepoR):
2928

30-
@skip_on_travis_ci
3129
def test_pack_random_access(self):
3230
pdb = PackedDB(os.path.join(self.gitrepopath, "objects/pack"))
3331

@@ -80,7 +78,6 @@ def test_pack_random_access(self):
8078
print("PDB: Obtained %i streams by sha and read all bytes totallying %i KiB ( %f KiB / s ) in %f s ( %f streams/s )" %
8179
(max_items, total_kib, total_kib / (elapsed or 1), elapsed, max_items / (elapsed or 1)), file=sys.stderr)
8280

83-
@skip_on_travis_ci
8481
def test_loose_correctness(self):
8582
"""based on the pack(s) of our packed object DB, we will just copy and verify all objects in the back
8683
into the loose object db (memory).
@@ -108,7 +105,6 @@ def test_loose_correctness(self):
108105
mdb._cache.clear()
109106
# end for each sha to copy
110107

111-
@skip_on_travis_ci
112108
def test_correctness(self):
113109
pdb = PackedDB(os.path.join(self.gitrepopath, "objects/pack"))
114110
# disabled for now as it used to work perfectly, checking big repositories takes a long time

gitdb/test/performance/test_pack_streaming.py

-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
from gitdb.db.pack import PackedDB
1313
from gitdb.stream import NullStream
1414
from gitdb.pack import PackEntity
15-
from gitdb.test.lib import skip_on_travis_ci
1615

1716
import os
1817
import sys
@@ -34,7 +33,6 @@ def write(self, d):
3433

3534
class TestPackStreamingPerformance(TestBigRepoR):
3635

37-
@skip_on_travis_ci
3836
def test_pack_writing(self):
3937
# see how fast we can write a pack from object streams.
4038
# This will not be fast, as we take time for decompressing the streams as well
@@ -64,7 +62,6 @@ def test_pack_writing(self):
6462
print(sys.stderr, "PDB Streaming: Wrote pack of size %i kb in %f s (%f kb/s)" %
6563
(total_kb, elapsed, total_kb / (elapsed or 1)), sys.stderr)
6664

67-
@skip_on_travis_ci
6865
def test_stream_reading(self):
6966
# raise SkipTest()
7067
pdb = PackedDB(os.path.join(self.gitrepopath, "objects/pack"))

gitdb/test/performance/test_stream.py

-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
from gitdb.test.lib import (
2121
make_memory_file,
2222
with_rw_directory,
23-
skip_on_travis_ci
2423
)
2524

2625

@@ -44,7 +43,6 @@ class TestObjDBPerformance(TestBigRepoR):
4443
large_data_size_bytes = 1000 * 1000 * 50 # some MiB should do it
4544
moderate_data_size_bytes = 1000 * 1000 * 1 # just 1 MiB
4645

47-
@skip_on_travis_ci
4846
@with_rw_directory
4947
def test_large_data_streaming(self, path):
5048
ldb = LooseObjectDB(path)

0 commit comments

Comments
 (0)