gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-merchant] 11/12: extra bank checks (no pass now)


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant] 11/12: extra bank checks (no pass now)
Date: Mon, 26 Mar 2018 10:38:05 +0200

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

marcello pushed a commit to branch master
in repository merchant.

commit 938c7f06d6f28a1369ffd7a2416aab5267dd398e
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Mar 23 16:54:33 2018 +0100

    extra bank checks (no pass now)
---
 src/lib/test_merchant_api.c     |  2 +-
 src/lib/test_merchant_api_new.c | 21 ++++++++++++---------
 2 files changed, 13 insertions(+), 10 deletions(-)

diff --git a/src/lib/test_merchant_api.c b/src/lib/test_merchant_api.c
index 3177a1a..b552648 100644
--- a/src/lib/test_merchant_api.c
+++ b/src/lib/test_merchant_api.c
@@ -4533,7 +4533,7 @@ run (void *cls)
       .details.admin_add_incoming.credit_account_no = EXCHANGE_ACCOUNT_NO,
       .details.admin_add_incoming.auth_username = "user62",
       .details.admin_add_incoming.auth_password = "pass62",
-      /* we run *two* instances, but only this first call will
+      /* we run *two* __merchant__ instances, but only this first call will
          actually fill the reserve, as the second one will be seen as
          a duplicate. Hence fill with twice the require amount per
          round. */
diff --git a/src/lib/test_merchant_api_new.c b/src/lib/test_merchant_api_new.c
index e83e100..d1525f0 100644
--- a/src/lib/test_merchant_api_new.c
+++ b/src/lib/test_merchant_api_new.c
@@ -480,7 +480,12 @@ run (void *cls,
        CONFIG_FILE),
 
 
-    CMD_EXEC_WIREWATCH ("wirewatch-11"),
+    CMD_EXEC_WIREWATCH ("wirewatch-3"),
+
+    TALER_TESTING_cmd_check_bank_transfer
+      ("check_bank_transfer-tip-1",
+       "http://localhost:8081/";,
+       "EUR:20.04", USER_ACCOUNT_NO, EXCHANGE_ACCOUNT_NO),
 
     TALER_TESTING_cmd_tip_authorize ("authorize-tip-1",
                                      merchant_url,
@@ -592,8 +597,6 @@ run (void *cls,
        is->exchange,
        TALER_EC_TIP_PICKUP_NO_FUNDS),
 
-    // TALER_TESTING_cmd_end (),
-
     TALER_TESTING_cmd_proposal
       ("create-proposal-tip-1",
        merchant_url,
@@ -626,10 +629,6 @@ run (void *cls,
                            "EUR:4.99", // amount - fee
                            "EUR:0.01"), // refund fee
 
-    /* Will fail here until all new
-     * transfers have not been checked.  I.e.,
-     * there is now a 20.04 euro "pending" transfer.  */
-
     /* pay again logic.  */
     TALER_TESTING_cmd_fakebank_transfer
       ("create-reserve-10",
@@ -648,6 +647,9 @@ run (void *cls,
        "http://localhost:8081/";,
        "EUR:10.02", USER_ACCOUNT_NO, EXCHANGE_ACCOUNT_NO),
 
+    /* This is not found at the original tests.  */
+    TALER_TESTING_cmd_check_bank_empty ("be_sure"),
+
     TALER_TESTING_cmd_withdraw_amount ("withdraw-coin-10a",
                                        is->exchange,
                                        "create-reserve-10",
@@ -658,8 +660,6 @@ run (void *cls,
                                        "create-reserve-10",
                                        "EUR:5",
                                        MHD_HTTP_OK),
-
-
     TALER_TESTING_cmd_status ("withdraw-status-10",
                               is->exchange,
                               "create-reserve-10",
@@ -719,6 +719,9 @@ run (void *cls,
 
     TALER_TESTING_cmd_check_bank_empty ("check_bank_empty-10"),
 
+    TALER_TESTING_cmd_end (),
+
+    /* pay abort */
     CMD_TRANSFER_TO_EXCHANGE ("create-reserve-11",
                               "EUR:10.02"),
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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