git.samba.org
/
vlendec
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ctdb-tests: Use a local "ctdb shutdown" command to avoid a race
[vlendec/samba-autobuild/.git]
/
ctdb
/
tests
/
INTEGRATION
/
simple
/
basics.003.ping.sh
diff --git
a/ctdb/tests/INTEGRATION/simple/basics.003.ping.sh
b/ctdb/tests/INTEGRATION/simple/basics.003.ping.sh
index b911b896f994a71e622aeb3f6c4ba7069032e5d6..1ff37b903f7b900fb3e3353df2c359e194cfd604 100755
(executable)
--- a/
ctdb/tests/INTEGRATION/simple/basics.003.ping.sh
+++ b/
ctdb/tests/INTEGRATION/simple/basics.003.ping.sh
@@
-41,7
+41,7
@@
sanity_check_output \
1 \
'^response from 1 time=-?[.0-9]+ sec[[:space:]]+\([[:digit:]]+ clients\)$'
-
try_command_on_node -v 0 "$CTDB shutdown -n 1
"
+
ctdb_onnode -v 1 "shutdown
"
wait_until_node_has_status 1 disconnected 30 0