BIND 10 trac1818, updated. 693ab9a70c5dc1940c213bff8ccf9746d18f8fe9 [1818] Add method to sleep for some seconds

BIND 10 source code commits bind10-changes at lists.isc.org
Wed Apr 4 08:19:11 UTC 2012


The branch, trac1818 has been updated
       via  693ab9a70c5dc1940c213bff8ccf9746d18f8fe9 (commit)
      from  71a80718097b5d5501522bc1edc4af2b1d8f0f40 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 693ab9a70c5dc1940c213bff8ccf9746d18f8fe9
Author: Mukund Sivaraman <muks at isc.org>
Date:   Wed Apr 4 13:49:03 2012 +0530

    [1818] Add method to sleep for some seconds

-----------------------------------------------------------------------

Summary of changes:
 tests/lettuce/features/terrain/bind10_control.py |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

-----------------------------------------------------------------------
diff --git a/tests/lettuce/features/terrain/bind10_control.py b/tests/lettuce/features/terrain/bind10_control.py
index 7112440..370fb5c 100644
--- a/tests/lettuce/features/terrain/bind10_control.py
+++ b/tests/lettuce/features/terrain/bind10_control.py
@@ -14,10 +14,19 @@
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
 from lettuce import *
+import time
 import subprocess
 import re
 import json
 
+ at step('sleep for (\d+) seconds')
+def wait_seconds(step, seconds):
+    """Sleep for some seconds.
+       Parameters:
+       seconds number of seconds to sleep for.
+    """
+    time.sleep(float(seconds))
+
 @step('start bind10(?: with configuration (\S+))?' +\
       '(?: with cmdctl port (\d+))?' +\
       '(?: with msgq socket file (\S+))?' +\



More information about the bind10-changes mailing list