[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] 46/151: -minor testing fixups
From: |
gnunet |
Subject: |
[taler-exchange] 46/151: -minor testing fixups |
Date: |
Tue, 30 Jul 2024 23:36:56 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
commit 5c19f0a8c890079a8780ae8ce52f18bc975428e1
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun May 19 18:18:18 2024 +0200
-minor testing fixups
---
src/include/taler_testing_lib.h | 14 +++++++-------
src/testing/testing_api_loop.c | 7 ++++---
2 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h
index 8ca44e1e4..2cd9dccd6 100644
--- a/src/include/taler_testing_lib.h
+++ b/src/include/taler_testing_lib.h
@@ -99,7 +99,7 @@
TALER_TESTING_interpreter_fail (is); \
} while (0)
-
+l
/**
* Log an error message about a command not having
* run to completion.
@@ -288,9 +288,9 @@ struct TALER_TESTING_Command
* @param is interpreter state
*/
void
- (*run)(void *cls,
- const struct TALER_TESTING_Command *cmd,
- struct TALER_TESTING_Interpreter *is);
+ (*run)(void *cls,
+ const struct TALER_TESTING_Command *cmd,
+ struct TALER_TESTING_Interpreter *is);
/**
@@ -301,8 +301,8 @@ struct TALER_TESTING_Command
* @param cmd command being cleaned up
*/
void
- (*cleanup)(void *cls,
- const struct TALER_TESTING_Command *cmd);
+ (*cleanup)(void *cls,
+ const struct TALER_TESTING_Command *cmd);
/**
* Extract information from a command that is useful for other
@@ -1941,7 +1941,7 @@ struct TALER_TESTING_Timer
/**
* Obtain performance data from the interpreter.
*
- * @param timers what commands (by label) to obtain runtimes for
+ * @param[in,out] timers what commands (by label) to obtain runtimes for
* @return the command
*/
struct TALER_TESTING_Command
diff --git a/src/testing/testing_api_loop.c b/src/testing/testing_api_loop.c
index 0f242f7f1..958b3b5df 100644
--- a/src/testing/testing_api_loop.c
+++ b/src/testing/testing_api_loop.c
@@ -284,9 +284,10 @@ interpreter_run (void *cls)
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Running command `%s'\n",
cmd->label);
- cmd->start_time
- = cmd->last_req_time
- = GNUNET_TIME_absolute_get ();
+ cmd->last_req_time
+ = GNUNET_TIME_absolute_get ();
+ if (0 == cmd->num_tries)
+ cmd->start_time = cmd->last_req_time;
cmd->num_tries = 1;
if (NULL != cmd->name)
{
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-exchange] 88/151: implement wad_in_insert, (continued)
- [taler-exchange] 88/151: implement wad_in_insert, gnunet, 2024/07/30
- [taler-exchange] 103/151: add logic to parse new_check field, gnunet, 2024/07/30
- [taler-exchange] 66/151: implement get_kyc_statistics, gnunet, 2024/07/30
- [taler-exchange] 109/151: -diagnostic notes, gnunet, 2024/07/30
- [taler-exchange] 20/151: kyclogic API planning, gnunet, 2024/07/30
- [taler-exchange] 102/151: introduce default check, gnunet, 2024/07/30
- [taler-exchange] 96/151: -SQL fixes, gnunet, 2024/07/30
- [taler-exchange] 56/151: work on select_aml_decisions, gnunet, 2024/07/30
- [taler-exchange] 52/151: drop functions after use, gnunet, 2024/07/30
- [taler-exchange] 85/151: set timeout also for curl request, gnunet, 2024/07/30
- [taler-exchange] 46/151: -minor testing fixups,
gnunet <=
- [taler-exchange] 55/151: finish request parsing for aml-decisions-get, gnunet, 2024/07/30
- [taler-exchange] 63/151: complete GET /aml//measures endpoint, gnunet, 2024/07/30
- [taler-exchange] 37/151: DCE, gnunet, 2024/07/30
- [taler-exchange] 81/151: ign, gnunet, 2024/07/30
- [taler-exchange] 92/151: implement new admin kycauth incoming endpoint in fakebank, gnunet, 2024/07/30
- [taler-exchange] 31/151: fix testing FTBFS, gnunet, 2024/07/30
- [taler-exchange] 54/151: move ID computation into libtalerutil, gnunet, 2024/07/30
- [taler-exchange] 58/151: -more work on add decision, gnunet, 2024/07/30
- [taler-exchange] 49/151: -implement new AML/SPA handlers, gnunet, 2024/07/30
- [taler-exchange] 38/151: work on KycRule parsing, gnunet, 2024/07/30