dont check if commit failed, we do allow the commit to fail sometimes
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 9 Sep 2009 02:48:21 +0000 (12:48 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 9 Sep 2009 02:48:21 +0000 (12:48 +1000)
tests/src/ctdb_transaction.c

index c747e1adda479a7fa4d909d4597b13021941b75f..fdd2e896223ad1c6c78a662f8bedad77bc80a382 100644 (file)
@@ -197,7 +197,7 @@ static void test_store_records(struct ctdb_context *ctdb, struct event_context *
                        ret = ctdb_transaction_commit(h);
                        if (ret != 0) {
                                DEBUG(DEBUG_ERR,("Failed to commit transaction\n"));
-                               exit(1);
+                               //exit(1);
                        }
                        if (verbose) printf("transaction committed\n");
                } else {