diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-12-25 08:59:04 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-12-25 08:59:04 +0100 |
commit | d5d2fc12f54fbfe608f66417b0b350c2bd94d516 (patch) | |
tree | d5e2de69c3070744e8d152e5fc9ab5ebe59f764c /src/testing | |
parent | 6243afe0ef6ace667e9219165c5db4d753dd4c57 (diff) | |
download | exchange-d5d2fc12f54fbfe608f66417b0b350c2bd94d516.tar.xz |
fix test failures
Diffstat (limited to 'src/testing')
-rw-r--r-- | src/testing/test_auditor_api.conf | 2 | ||||
-rw-r--r-- | src/testing/test_bank_api.c | 3 | ||||
-rw-r--r-- | src/testing/testing_api_cmd_wire.c | 4 |
3 files changed, 5 insertions, 4 deletions
diff --git a/src/testing/test_auditor_api.conf b/src/testing/test_auditor_api.conf index a03044523..169c46734 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 7f3b7099d..7069e44f9 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 4d9a7192c..66d018c79 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; } |