summaryrefslogtreecommitdiff
path: root/cpp/test/IceStorm/federation/run.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/IceStorm/federation/run.py')
-rwxr-xr-xcpp/test/IceStorm/federation/run.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/test/IceStorm/federation/run.py b/cpp/test/IceStorm/federation/run.py
index 120710da820..37efd293f8d 100755
--- a/cpp/test/IceStorm/federation/run.py
+++ b/cpp/test/IceStorm/federation/run.py
@@ -14,7 +14,7 @@
# **********************************************************************
import os, sys
-import time
+from time import sleep
for toplevel in [".", "..", "../..", "../../..", "../../../.."]:
toplevel = os.path.normpath(toplevel)
@@ -79,7 +79,7 @@ def doTest(batch):
print "failed!"
TestUtil.killServers()
sys.exit(1)
- time.sleep(1)
+ sleep(1)
lockCount = lockCount + 1
print "ok"
@@ -104,7 +104,7 @@ def doTest(batch):
print "failed!"
TestUtil.killServers()
sys.exit(1)
- time.sleep(1)
+ sleep(1)
lockCount = lockCount + 1
print "ok"