ctdb-tests: Use a local "ctdb shutdown" command to avoid a race
[vlendec/samba-autobuild/.git] / ctdb / tests / INTEGRATION / simple / basics.003.ping.sh
index b911b896f994a71e622aeb3f6c4ba7069032e5d6..1ff37b903f7b900fb3e3353df2c359e194cfd604 100755 (executable)
@@ -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