summaryrefslogtreecommitdiff
path: root/gitdb/test
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2011-06-10 22:05:36 +0200
committerSebastian Thiel <byronimo@gmail.com>2011-06-10 22:05:36 +0200
commit34f01396b913220fe5b19e1f8e33f2d3f4ec2ce5 (patch)
tree90830a38cb1d864dabb0277a457b0f9a5d1d4d3b /gitdb/test
parenta33e8d55d4d77d842edea94a78d801b23bb90294 (diff)
downloadgitdb-34f01396b913220fe5b19e1f8e33f2d3f4ec2ce5.tar.gz
Added changelog information
Diffstat (limited to 'gitdb/test')
-rw-r--r--gitdb/test/performance/test_pack.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/gitdb/test/performance/test_pack.py b/gitdb/test/performance/test_pack.py
index da952b1..2061802 100644
--- a/gitdb/test/performance/test_pack.py
+++ b/gitdb/test/performance/test_pack.py
@@ -15,9 +15,11 @@ import os
from time import time
import random
+from nose import SkipTest
+
class TestPackedDBPerformance(TestBigRepoR):
- def _test_pack_random_access(self):
+ def test_pack_random_access(self):
pdb = PackedDB(os.path.join(self.gitrepopath, "objects/pack"))
# sha lookup
@@ -66,6 +68,7 @@ class TestPackedDBPerformance(TestBigRepoR):
print >> sys.stderr, "PDB: Obtained %i streams by sha and read all bytes totallying %i KiB ( %f KiB / s ) in %f s ( %f streams/s )" % (max_items, total_kib, total_kib/elapsed , elapsed, max_items / elapsed)
def test_correctness(self):
+ raise SkipTest("Takes too long, enable it if you change the algorithm and want to be sure you decode packs correctly")
pdb = PackedDB(os.path.join(self.gitrepopath, "objects/pack"))
# disabled for now as it used to work perfectly, checking big repositories takes a long time
print >> sys.stderr, "Endurance run: verify streaming of objects (crc and sha)"