]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
Fixed formatting and added a better variable for time out
authorYuri Weinstein <yuri.weinstein@inktank.com>
Mon, 19 May 2014 23:03:30 +0000 (16:03 -0700)
committerYuri Weinstein <yuri.weinstein@inktank.com>
Mon, 19 May 2014 23:03:30 +0000 (16:03 -0700)
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
teuthology/task/samba.py

index 11c072da193740a5b165b989f0ef82eb0e5495a5..3814ca7f05405ab9ac7e8711eb3e4aaa214e6229 100644 (file)
@@ -175,9 +175,11 @@ def task(ctx, config):
 
         # let smbd initialize, probably a better way...
         import time
-        log.info('Sleeping 90 seconds...')
-        time.sleep(100)
-        log.info('Sleeping stopped...')
+        seconds_to_sleep = 100        
+        log.info("Sleeping for %s  seconds..." % seconds_to_sleep)
+        time.sleep(seconds_to_sleep)
+        log.info('Sleeping stopped…’)
+
     try:
         yield
     finally: