gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: -fix transaction issue in exchan


From: gnunet
Subject: [taler-exchange] branch master updated: -fix transaction issue in exchange test
Date: Sun, 05 Feb 2023 20:15:29 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new f079cff4 -fix transaction issue in exchange test
f079cff4 is described below

commit f079cff4ae81ee2a6a522326cfecabaed49efd5b
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Feb 5 20:15:26 2023 +0100

    -fix transaction issue in exchange test
---
 src/exchangedb/test_exchangedb.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/exchangedb/test_exchangedb.c b/src/exchangedb/test_exchangedb.c
index 0bb35df1..6d07d214 100644
--- a/src/exchangedb/test_exchangedb.c
+++ b/src/exchangedb/test_exchangedb.c
@@ -1,6 +1,6 @@
 /*
   This file is part of TALER
-  Copyright (C) 2014-2022 Taler Systems SA
+  Copyright (C) 2014-2023 Taler Systems SA
 
   TALER is free software; you can redistribute it and/or modify it under the
   terms of the GNU General Public License as published by the Free Software
@@ -1288,6 +1288,8 @@ run (void *cls)
                  TALER_string_to_amount (CURRENCY ":1.000010",
                                          &amount_with_fee));
   result = 4;
+  FAILIF (GNUNET_DB_STATUS_SUCCESS_NO_RESULTS !=
+          plugin->commit (plugin->cls));
   now = GNUNET_TIME_timestamp_get ();
   {
     struct TALER_EXCHANGEDB_ReserveInInfo reserve = {
@@ -1336,6 +1338,9 @@ run (void *cls)
     FAILIF (GNUNET_DB_STATUS_SUCCESS_ONE_RESULT !=
             qsr);
   }
+  FAILIF (GNUNET_OK !=
+          plugin->start (plugin->cls,
+                         "test-2"));
   FAILIF (GNUNET_OK !=
           check_reserve (&reserve_pub,
                          value.value,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]