aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-01-09 17:48:44 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2019-01-09 17:48:44 +0100
commitb657910c1936c727508843221a5b1552a89da94a (patch)
tree5507cd57454b5bce1dbe8722339789ca59285fc4 /src
parentf311ffb3bac6dcb73b25bc4f733c0f15d33f096c (diff)
Send SIGUSR1 for new keys reloading.
Diffstat (limited to 'src')
-rw-r--r--src/exchange-lib/test_exchange_api_keys_cherry_picking_new.c12
-rw-r--r--src/include/taler_testing_lib.h1
2 files changed, 10 insertions, 3 deletions
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 31e41b4cc..135a9b353 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
@@ -96,8 +96,16 @@ run (void *cls,
TALER_TESTING_cmd_exec_keyup ("keyup-serialization",
CONFIG_FILE_EXTENDED_2),
- TALER_TESTING_cmd_exec_auditor_sign ("auditor-sign-serialization",
- CONFIG_FILE_EXTENDED_2),
+ TALER_TESTING_cmd_exec_auditor_sign
+ ("auditor-sign-serialization",
+ CONFIG_FILE_EXTENDED_2),
+
+ TALER_TESTING_cmd_sleep ("sleep-serialization",
+ 3),
+
+ TALER_TESTING_cmd_signal ("reload-keys-serialization",
+ is->exchanged,
+ SIGUSR1),
TALER_TESTING_cmd_end ()
};
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h
index 43eb0e1b7..ed09ad471 100644
--- a/src/include/taler_testing_lib.h
+++ b/src/include/taler_testing_lib.h
@@ -116,7 +116,6 @@ TALER_TESTING_prepare_exchange (const char *config_filename,
char **auditor_base_url,
char **exchange_base_url);
-
/**
* Wait for the exchange to have started. Waits for at
* most 10s, after that returns 77 to indicate an error.