summaryrefslogtreecommitdiff
path: root/src/exchange-lib
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-01-09 22:44:05 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2019-01-09 22:44:05 +0100
commit551562701e1f48712a0143d0d152b518342f0883 (patch)
tree39460634e5286fe1bd5de458d6e8b1c21d11c5af /src/exchange-lib
parentb657910c1936c727508843221a5b1552a89da94a (diff)
downloadexchange-551562701e1f48712a0143d0d152b518342f0883.tar.gz
exchange-551562701e1f48712a0143d0d152b518342f0883.tar.bz2
exchange-551562701e1f48712a0143d0d152b518342f0883.zip
Comment block.
Diffstat (limited to 'src/exchange-lib')
-rw-r--r--src/exchange-lib/test_exchange_api_keys_cherry_picking_extended_2.conf2
-rw-r--r--src/exchange-lib/test_exchange_api_keys_cherry_picking_new.c24
-rw-r--r--src/exchange-lib/testing_api_cmd_check_keys.c2
3 files changed, 26 insertions, 2 deletions
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. */