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