git.samba.org
/
vlendec
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57146b0
)
ctdb-tests: Default fail count for rpc_set_service_failure_response() is 1
author
Martin Schwenke
<martin@meltin.net>
Mon, 15 Jun 2015 10:12:31 +0000
(20:12 +1000)
committer
Amitay Isaacs
<amitay@samba.org>
Tue, 14 Jul 2015 07:57:17 +0000
(09:57 +0200)
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/eventscripts/scripts/local.sh
patch
|
blob
|
history
diff --git
a/ctdb/tests/eventscripts/scripts/local.sh
b/ctdb/tests/eventscripts/scripts/local.sh
index d9162420b417a51acfcc8683d7d8712f9edad390..cd58a40fb6e3bcdfbd3ce6ab8693f7880aebdc9a 100644
(file)
--- a/
ctdb/tests/eventscripts/scripts/local.sh
+++ b/
ctdb/tests/eventscripts/scripts/local.sh
@@
-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