The branch, master has been updated
       via  415a3a5 ctdb-tests: Log errors if the test fails
      from  908539c resolv_wrapper: Update config variable name to match the 
code

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 415a3a56b48ef22fef3680cc4f5f41fe56c671f2
Author: Amitay Isaacs <[email protected]>
Date:   Mon Aug 1 14:23:23 2016 +1000

    ctdb-tests: Log errors if the test fails
    
    Signed-off-by: Amitay Isaacs <[email protected]>
    Reviewed-by: Martin Schwenke <[email protected]>
    
    Autobuild-User(master): Martin Schwenke <[email protected]>
    Autobuild-Date(master): Wed Aug 10 08:17:13 CEST 2016 on sn-devel-144

-----------------------------------------------------------------------

Summary of changes:
 ctdb/tests/src/transaction_loop.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/ctdb/tests/src/transaction_loop.c 
b/ctdb/tests/src/transaction_loop.c
index 3b325fd..0fd2953 100644
--- a/ctdb/tests/src/transaction_loop.c
+++ b/ctdb/tests/src/transaction_loop.c
@@ -162,6 +162,7 @@ static void transaction_loop_started(struct tevent_req 
*subreq)
        ret = ctdb_transaction_fetch_record(state->h, state->key,
                                            state, &data);
        if (ret != 0) {
+               fprintf(stderr, "transaction fetch record failed\n");
                tevent_req_error(req, ret);
                return;
        }
@@ -246,6 +247,7 @@ static void transaction_loop_each_second(struct tevent_req 
*subreq)
        status = tevent_wakeup_recv(subreq);
        TALLOC_FREE(subreq);
        if (! status) {
+               fprintf(stderr, "tevent wakeup failed\n");
                tevent_req_error(req, EIO);
                return;
        }
@@ -390,7 +392,7 @@ int main(int argc, const char *argv[])
 
        status = transaction_loop_recv(req, &ret);
        if (! status) {
-               fprintf(stderr, "transaction loop test failed\n");
+               fprintf(stderr, "transaction loop test failed, ret=%d\n", ret);
                exit(1);
        }
 


-- 
Samba Shared Repository

Reply via email to