gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: fix test failures


From: gnunet
Subject: [taler-exchange] branch master updated: fix test failures
Date: Fri, 25 Dec 2020 08:59:07 +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 d5d2fc12 fix test failures
d5d2fc12 is described below

commit d5d2fc12f54fbfe608f66417b0b350c2bd94d516
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Fri Dec 25 08:59:04 2020 +0100

    fix test failures
---
 src/exchange/taler-exchange-httpd_keys.c | 6 ------
 src/testing/test_auditor_api.conf        | 2 +-
 src/testing/test_bank_api.c              | 3 +--
 src/testing/testing_api_cmd_wire.c       | 4 +++-
 4 files changed, 5 insertions(+), 10 deletions(-)

diff --git a/src/exchange/taler-exchange-httpd_keys.c 
b/src/exchange/taler-exchange-httpd_keys.c
index d913dc93..5e92611a 100644
--- a/src/exchange/taler-exchange-httpd_keys.c
+++ b/src/exchange/taler-exchange-httpd_keys.c
@@ -639,9 +639,6 @@ helper_denom_cb (
   {
     /* should be just an update (revocation!), so update existing entry */
     hd->validity_duration = validity_duration;
-    GNUNET_break (0 ==
-                  GNUNET_memcmp (sm_sig,
-                                 &hd->sm_sig));
     GNUNET_break (start_time.abs_value_us ==
                   hd->start_time.abs_value_us);
     GNUNET_break (0 ==
@@ -709,9 +706,6 @@ helper_esign_cb (
   {
     /* should be just an update (revocation!), so update existing entry */
     hsk->validity_duration = validity_duration;
-    GNUNET_break (0 ==
-                  GNUNET_memcmp (sm_sig,
-                                 &hsk->sm_sig));
     GNUNET_break (start_time.abs_value_us ==
                   hsk->start_time.abs_value_us);
     return;
diff --git a/src/testing/test_auditor_api.conf 
b/src/testing/test_auditor_api.conf
index a0304452..169c4673 100644
--- a/src/testing/test_auditor_api.conf
+++ b/src/testing/test_auditor_api.conf
@@ -11,7 +11,7 @@ CURRENCY = EUR
 CURRENCY_ROUND_UNIT = EUR:0.01
 
 [auditor]
-BASE_URL = "http://localhost:8083/";
+AUDITOR_URL = "http://localhost:8083/";
 
 # HTTP port the auditor listens to
 PORT = 8083
diff --git a/src/testing/test_bank_api.c b/src/testing/test_bank_api.c
index 7f3b7099..7069e44f 100644
--- a/src/testing/test_bank_api.c
+++ b/src/testing/test_bank_api.c
@@ -185,8 +185,7 @@ main (int argc,
                                                     "_with_pybank"))
   {
     TALER_LOG_DEBUG ("Running against the Pybank.\n");
-    // FIXME: is the line below correct?
-    cfgfile = CONFIG_FILE_FAKEBANK;
+    cfgfile = CONFIG_FILE_PYBANK;
     if (GNUNET_OK !=
         TALER_TESTING_prepare_bank (CONFIG_FILE_PYBANK,
                                     GNUNET_YES,
diff --git a/src/testing/testing_api_cmd_wire.c 
b/src/testing/testing_api_cmd_wire.c
index 4d9a7192..66d018c7 100644
--- a/src/testing/testing_api_cmd_wire.c
+++ b/src/testing/testing_api_cmd_wire.c
@@ -91,7 +91,9 @@ wire_cb (void *cls,
   ws->wh = NULL;
   if (ws->expected_response_code != hr->http_status)
   {
-    GNUNET_break (0);
+    GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+                "Received unexpected status code %u\n",
+                hr->http_status);
     TALER_TESTING_interpreter_fail (ws->is);
     return;
   }

-- 
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]