summaryrefslogtreecommitdiff
path: root/src/exchange-lib/testing_api_cmd_check_keys.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-09-15 22:20:07 +0200
committerChristian Grothoff <christian@grothoff.org>2018-09-15 22:20:07 +0200
commit528faeab81ba240329140eb1587ccc542736c1dc (patch)
tree639283b45f05dcd7ad9e2e5c89a28cf3f9dbefd8 /src/exchange-lib/testing_api_cmd_check_keys.c
parent46e4ea696cdba772ad5d6f8d79cf2e6586ef9979 (diff)
downloadexchange-528faeab81ba240329140eb1587ccc542736c1dc.tar.gz
exchange-528faeab81ba240329140eb1587ccc542736c1dc.tar.bz2
exchange-528faeab81ba240329140eb1587ccc542736c1dc.zip
fix #5315, including more testing
Diffstat (limited to 'src/exchange-lib/testing_api_cmd_check_keys.c')
-rw-r--r--src/exchange-lib/testing_api_cmd_check_keys.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/exchange-lib/testing_api_cmd_check_keys.c b/src/exchange-lib/testing_api_cmd_check_keys.c
index 56b062a10..8d91d3ece 100644
--- a/src/exchange-lib/testing_api_cmd_check_keys.c
+++ b/src/exchange-lib/testing_api_cmd_check_keys.c
@@ -71,8 +71,8 @@ check_keys_run (void *cls,
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"cmd `%s', key generation: %d\n",
- cmd->label, is->key_generation);
-
+ cmd->label,
+ is->key_generation);
if (is->key_generation < cks->generation)
{
/* Go back to waiting for /keys signal! */
@@ -99,10 +99,11 @@ check_keys_run (void *cls,
{
/* Did not get the expected number of denomination keys! */
GNUNET_break (0);
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "Got %u keys in step %s\n",
+ GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+ "Got %u keys in step %s, expected %u\n",
is->keys->num_denom_keys,
- cmd->label);
+ cmd->label,
+ cks->num_denom_keys);
TALER_TESTING_interpreter_fail (is);
return;
}