1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

ctdb-tests: Default fail count for rpc_set_service_failure_response() is 1

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
Martin Schwenke 2015-06-15 20:12:31 +10:00 committed by Amitay Isaacs
parent 57146b0875
commit d170a20b46

View File

@ -910,7 +910,7 @@ rpc_set_service_failure_response ()
# The number of failures defaults to the iteration number. This
# will be true when we fail from the 1st iteration... but we need
# the flexibility to set the number of failures.
_numfails="${2:-${iteration}}"
_numfails="${2:-${iteration:-1}}"
nfs_load_config