Force the test threads stopped before shutdown the clients in
recovery-double-scale.
i=Jack.Chen
i=WangDi
[ "$SERIAL" ] && wait_recovery_complete $item $((timeout * 4)) || true
;;
clients) for c in ${item//,/ }; do
[ "$SERIAL" ] && wait_recovery_complete $item $((timeout * 4)) || true
;;
clients) for c in ${item//,/ }; do
+ # make sure the client loads die
+ do_nodes $c "set -x; test -f $TMP/client-load.pid && \
+ { kill -s TERM \$(cat $TMP/client-load.pid) || true; }"
shutdown_client $c
boot_node $c
echo "Reintegrating $c"
shutdown_client $c
boot_node $c
echo "Reintegrating $c"