From 551562701e1f48712a0143d0d152b518342f0883 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Wed, 9 Jan 2019 22:44:05 +0100 Subject: Comment block. --- ...xchange_api_keys_cherry_picking_extended_2.conf | 2 +- .../test_exchange_api_keys_cherry_picking_new.c | 24 ++++++++++++++++++++++ src/exchange-lib/testing_api_cmd_check_keys.c | 2 +- 3 files changed, 26 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/exchange-lib/test_exchange_api_keys_cherry_picking_extended_2.conf b/src/exchange-lib/test_exchange_api_keys_cherry_picking_extended_2.conf index 694f78ddd..cfa8b1347 100644 --- a/src/exchange-lib/test_exchange_api_keys_cherry_picking_extended_2.conf +++ b/src/exchange-lib/test_exchange_api_keys_cherry_picking_extended_2.conf @@ -2,4 +2,4 @@ [exchange] # Lengthen over firstly extended value (100 s) -LOOKAHEAD_SIGN = 150 s +LOOKAHEAD_SIGN = 1500 s 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 index 135a9b353..45222a66c 100644 --- a/src/exchange-lib/test_exchange_api_keys_cherry_picking_new.c +++ b/src/exchange-lib/test_exchange_api_keys_cherry_picking_new.c @@ -106,6 +106,30 @@ run (void *cls, TALER_TESTING_cmd_signal ("reload-keys-serialization", is->exchanged, SIGUSR1), + + TALER_TESTING_cmd_sleep ("sleep-serialization", + 3), + + /** + * XXX. + * + * Current bug: this CMD here uses the "reconnect cert_cb", + * that has its 'consumed' field already set to GNUNET_YES. + * This way, there is no way to pass control to the next + * CMD making therefore the interpreter stuck. + * + * Doable solution: adapt the global "cert_cb" to handle + * "reconnect situations", or even provide some method to + * switch the 'consumed' field back to GNUNET_NO. + */ + TALER_TESTING_cmd_check_keys ("check-freshest-keys", + 4, + 10), + + TALER_TESTING_cmd_wire ("verify-/wire-with-fresh-keys", + "x-taler-bank", + NULL, + MHD_HTTP_OK), TALER_TESTING_cmd_end () }; diff --git a/src/exchange-lib/testing_api_cmd_check_keys.c b/src/exchange-lib/testing_api_cmd_check_keys.c index 3aa6c24f6..d329f31a4 100644 --- a/src/exchange-lib/testing_api_cmd_check_keys.c +++ b/src/exchange-lib/testing_api_cmd_check_keys.c @@ -73,7 +73,7 @@ check_keys_run (void *cls, { is->working = GNUNET_NO; GNUNET_log (GNUNET_ERROR_TYPE_INFO, - "Triggering /keys dl, cmd `%s'\n", + "Triggering GET /keys, cmd `%s'\n", cmd->label); /* Means re-download /keys. */ -- cgit v1.2.3