Revert "Revert "allow the transaction commit to fail""
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Thu, 1 Oct 2009 04:51:32 +0000 (14:51 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Thu, 1 Oct 2009 04:51:32 +0000 (14:51 +1000)
This reverts commit 74e416108df6934f45ca646d709785dd76ab3c35.

tests/src/ctdb_persistent.c

index 8110ce12832c08f01bf3bb1abed598f6703d00e0..4a50aa798f78008b5b31ff04c8e878efaf5cf2fc 100644 (file)
@@ -164,7 +164,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);
                }
 
                /* store the counters and verify that they are sane */