exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 73b02adee0c49714e9150fc6c336035fd4b15936
parent 528faeab81ba240329140eb1587ccc542736c1dc
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat, 15 Sep 2018 22:51:44 +0200

adjust timeouts to try to make test more robust

Diffstat:
Msrc/exchange-lib/exchange_api_handle.c | 1-
Msrc/exchange-lib/test_exchange_api_keys_cherry_picking_new.c | 6+++---
2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/exchange-lib/exchange_api_handle.c b/src/exchange-lib/exchange_api_handle.c @@ -836,7 +836,6 @@ keys_completed_cb (void *cls, "Received keys from URL `%s' with status %ld.\n", kr->url, response_code); - json_dumpf (resp_obj, stderr, 0); kd_old = exchange->key_data; memset (&kd, 0, diff --git a/src/exchange-lib/test_exchange_api_keys_cherry_picking_new.c b/src/exchange-lib/test_exchange_api_keys_cherry_picking_new.c @@ -73,7 +73,7 @@ run (void *cls, is->exchange), /* sleep a bit */ TALER_TESTING_cmd_sleep ("sleep", - 25), + 10), /* 1st keyup happens at start-up */ TALER_TESTING_cmd_exec_keyup ("keyup-2", CONFIG_FILE_EXTENDED), @@ -89,7 +89,7 @@ run (void *cls, /* sleep a bit */ TALER_TESTING_cmd_sleep ("sleep", - 24), + 20), /* Do 2nd keyup */ TALER_TESTING_cmd_exec_keyup ("keyup-3", CONFIG_FILE_EXTENDED), @@ -100,7 +100,7 @@ run (void *cls, SIGUSR1), TALER_TESTING_cmd_check_keys ("check-keys-3", 3, - 10, + 8, is->exchange), TALER_TESTING_cmd_end () };