diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2015-01-03 20:25:01 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2015-01-03 20:31:18 +0100 |
commit | f2840c626d2eb712055ccb5dcbad25d040f17ce1 (patch) | |
tree | 15b771106a507fe284ab610bf0d141fa9255f4f2 /git/test/performance/test_odb.py | |
parent | 342a0276dbf11366ae91ce28dcceddc332c97eaf (diff) | |
download | gitpython-f2840c626d2eb712055ccb5dcbad25d040f17ce1.tar.gz |
Auto-skip performance tests more quietly on travis
... and be able to run performance tests independently of the chosen performance test repo
Now all tests run fine locally
Diffstat (limited to 'git/test/performance/test_odb.py')
-rw-r--r-- | git/test/performance/test_odb.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/git/test/performance/test_odb.py b/git/test/performance/test_odb.py index 1c4bd9ed..9d857260 100644 --- a/git/test/performance/test_odb.py +++ b/git/test/performance/test_odb.py @@ -2,7 +2,6 @@ from time import time import sys -from gitdb.test.lib import skip_on_travis_ci from lib import ( TestBigRepoR @@ -11,13 +10,12 @@ from lib import ( class TestObjDBPerformance(TestBigRepoR): - @skip_on_travis_ci def test_random_access(self): results = [["Iterate Commits"], ["Iterate Blobs"], ["Retrieve Blob Data"]] for repo in (self.gitrorepo, self.puregitrorepo): # GET COMMITS st = time() - root_commit = repo.commit(self.head_sha_2k) + root_commit = repo.commit(repo.head) commits = list(root_commit.traverse()) nc = len(commits) elapsed = time() - st |