diff options
author | Martin Schwenke <martin@meltin.net> | 2013-11-15 15:23:14 +1100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-11-27 18:46:16 +0100 |
commit | c6551132f5d5e5e09fd5024683a936a262cbd403 (patch) | |
tree | e7316163f5a60d8d67a45a92c87caa45d56b8c90 /ctdb | |
parent | 2b6db9041dcac3cb7950f151294b92dc1e569142 (diff) | |
download | samba-c6551132f5d5e5e09fd5024683a936a262cbd403.tar.gz samba-c6551132f5d5e5e09fd5024683a936a262cbd403.tar.xz samba-c6551132f5d5e5e09fd5024683a936a262cbd403.zip |
ctdb-tests/simple: User sleep_for() instead of sleep
Progress...
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'ctdb')
-rwxr-xr-x | ctdb/tests/simple/73_tunable_NoIPTakeover.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ctdb/tests/simple/73_tunable_NoIPTakeover.sh b/ctdb/tests/simple/73_tunable_NoIPTakeover.sh index 2e90f55394..43fd8b267c 100755 --- a/ctdb/tests/simple/73_tunable_NoIPTakeover.sh +++ b/ctdb/tests/simple/73_tunable_NoIPTakeover.sh @@ -44,7 +44,7 @@ fi echo "Wait until the ips are reallocated" -sleep 30 +sleep_for 30 try_command_on_node 0 "$CTDB ipreallocate" num=`try_command_on_node -v 1 "$CTDB ip" | grep -v Public | egrep " 1$" | wc -l` @@ -68,7 +68,7 @@ echo "Number of addresses on node 1 : $num" echo "Enable node 1 again" try_command_on_node 1 "$CTDB enable" -sleep 30 +sleep_for 30 try_command_on_node 1 "$CTDB ipreallocate" try_command_on_node 1 "$CTDB ipreallocate" num=`try_command_on_node -v 1 "$CTDB ip" | grep -v Public | egrep " 1$" | wc -l` |