diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2019-02-19 17:42:39 +0100 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2019-02-19 17:42:39 +0100 |
commit | 0db12efc4d7d8d0c49b8e256b63f2cec90b03883 (patch) | |
tree | 43f4041cf284c768bd6915fdd86ae5a0795c91f3 /src | |
parent | 7c5a277b34856173f5fd73a8c538b4421d677ce0 (diff) |
Align tests to latest change.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/exchange_api_handle.c | 3 | ||||
-rw-r--r-- | src/lib/test_exchange_api_overlapping_keys_bug.c | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/exchange_api_handle.c b/src/lib/exchange_api_handle.c index d6255c54f..158afd56f 100644 --- a/src/lib/exchange_api_handle.c +++ b/src/lib/exchange_api_handle.c @@ -930,6 +930,9 @@ decode_keys_json (const json_t *resp_obj, if (GNUNET_YES == found) { /* 0:0:0 did not support /keys cherry picking */ + + /* Okay, but why breaking here? It could be that the + * user redownloaded all the keys in a forced way. */ GNUNET_break_op (0 == current); continue; } diff --git a/src/lib/test_exchange_api_overlapping_keys_bug.c b/src/lib/test_exchange_api_overlapping_keys_bug.c index 01fb46237..253851925 100644 --- a/src/lib/test_exchange_api_overlapping_keys_bug.c +++ b/src/lib/test_exchange_api_overlapping_keys_bug.c @@ -89,12 +89,12 @@ run (void *cls, TALER_TESTING_cmd_check_keys ("first-download", 1, - 4), + 1), /* Causes GET /keys?last_denom_issue=0 */ TALER_TESTING_cmd_check_keys_with_last_denom ("second-download", 3, - 4, + 1, GNUNET_TIME_UNIT_ZERO_ABS), TALER_TESTING_cmd_end () }; |