summaryrefslogtreecommitdiff
path: root/git/test/lib/helper.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2015-01-03 20:25:01 +0100
committerSebastian Thiel <byronimo@gmail.com>2015-01-03 20:31:18 +0100
commitf2840c626d2eb712055ccb5dcbad25d040f17ce1 (patch)
tree15b771106a507fe284ab610bf0d141fa9255f4f2 /git/test/lib/helper.py
parent342a0276dbf11366ae91ce28dcceddc332c97eaf (diff)
downloadgitpython-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/lib/helper.py')
-rw-r--r--git/test/lib/helper.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/git/test/lib/helper.py b/git/test/lib/helper.py
index 40e34fe0..df94abde 100644
--- a/git/test/lib/helper.py
+++ b/git/test/lib/helper.py
@@ -8,6 +8,7 @@ import os
import sys
from git import Repo, Remote, GitCommandError, Git
from unittest import TestCase
+import time
import tempfile
import shutil
import cStringIO
@@ -191,6 +192,8 @@ def with_rw_and_rw_remote_repo(working_tree_ref):
# On windows, this will fail ... we deal with failures anyway and default to telling the user to do it
try:
gd = Git().daemon(temp_dir, as_process=True)
+ # yes, I know ... fortunately, this is always going to work if sleep time is just large enough
+ time.sleep(0.5)
except Exception as err:
gd = None
# end