commit 77355d764c7e495bf56ad698a158a74004733d27
parent 099a374e67b15b26d6c74c9629a61b6cfe578a91
Author: Christian Grothoff <grothoff@gnunet.org>
Date: Fri, 10 Jul 2026 10:08:05 +0200
check for errors
Diffstat:
2 files changed, 20 insertions(+), 3 deletions(-)
diff --git a/src/testing/meson.build b/src/testing/meson.build
@@ -26,7 +26,7 @@ foreach f : check_SCRIPTS
workdir: meson.current_build_dir(),
suite: ['testing', 'integrationtests'],
is_parallel: false,
- timeout: 300,
+ timeout: 600,
)
endforeach
@@ -179,6 +179,7 @@ if talerfakebank_dep.found()
workdir: meson.current_build_dir(),
suite: ['testing', 'integrationtests'],
is_parallel: false,
+ timeout: 300,
)
@@ -214,6 +215,7 @@ if talerfakebank_dep.found()
workdir: meson.current_build_dir(),
suite: ['testing', 'integrationtests'],
is_parallel: false,
+ timeout: 300,
)
endif
@@ -249,6 +251,7 @@ if talerfakebank_dep.found()
workdir: meson.current_build_dir(),
suite: ['testing', 'integrationtests'],
is_parallel: false,
+ timeout: 300,
)
test_merchant_api_rsa = executable(
@@ -282,6 +285,7 @@ if talerfakebank_dep.found()
workdir: meson.current_build_dir(),
suite: ['testing', 'integrationtests'],
is_parallel: false,
+ timeout: 300,
)
test_reconciliation_rsa = executable(
@@ -346,6 +350,7 @@ if talerfakebank_dep.found()
workdir: meson.current_build_dir(),
suite: ['testing', 'integrationtests'],
is_parallel: false,
+ timeout: 300,
)
diff --git a/src/testing/testing_api_cmd_instance_token.c b/src/testing/testing_api_cmd_instance_token.c
@@ -203,8 +203,20 @@ set_token_instance_run (void *cls,
tok_cmd = TALER_TESTING_interpreter_lookup_command (
is,
token_job_label);
- TALER_TESTING_get_trait_bearer_token (tok_cmd,
- &token);
+ if (NULL == tok_cmd)
+ {
+ GNUNET_break (0);
+ TALER_TESTING_interpreter_fail (is);
+ return;
+ }
+ if (GNUNET_OK !=
+ TALER_TESTING_get_trait_bearer_token (tok_cmd,
+ &token))
+ {
+ GNUNET_break (0);
+ TALER_TESTING_interpreter_fail (is);
+ return;
+ }
GNUNET_assert (NULL != token);
GNUNET_asprintf (&authorization,