fix test failures

This commit is contained in:
Christian Grothoff 2020-12-25 08:59:04 +01:00
parent 6243afe0ef
commit d5d2fc12f5
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
4 changed files with 5 additions and 10 deletions

View File

@ -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;

View File

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

View File

@ -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,

View File

@ -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;
}