diff options
author | Amitay Isaacs <amitay@gmail.com> | 2013-10-01 11:54:35 +1000 |
---|---|---|
committer | Amitay Isaacs <amitay@gmail.com> | 2013-10-08 17:10:13 +1100 |
commit | ec7c9952d555d747f35306c82978e930dee04ee1 (patch) | |
tree | 5cdd62f185b1c94d01c536bcdd14b1230262bf9f /ctdb/tests/src | |
parent | 30f422b96045d260b6afca5a7329d295a89f405a (diff) | |
download | samba-ec7c9952d555d747f35306c82978e930dee04ee1.tar.gz samba-ec7c9952d555d747f35306c82978e930dee04ee1.tar.xz samba-ec7c9952d555d747f35306c82978e930dee04ee1.zip |
tests: If transaction_start fails, try again
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
(This used to be ctdb commit ed7d999214ee009e480c26410a04fa105028cb8e)
Diffstat (limited to 'ctdb/tests/src')
-rw-r--r-- | ctdb/tests/src/ctdb_transaction.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/tests/src/ctdb_transaction.c b/ctdb/tests/src/ctdb_transaction.c index 78a63f1f12..7671992997 100644 --- a/ctdb/tests/src/ctdb_transaction.c +++ b/ctdb/tests/src/ctdb_transaction.c @@ -137,7 +137,7 @@ static void test_store_records(struct ctdb_context *ctdb, struct event_context * DEBUG(DEBUG_ERR, ("Failed to start transaction on node %d\n", ctdb_get_pnn(ctdb))); talloc_free(tmp_ctx); - return; + continue; } if (verbose) DEBUG(DEBUG_ERR, ("transaction started\n")); do_sleep(delay); |