taler-rust

GNU Taler code in Rust. Largely core banking integrations.
Log | Files | Refs | Submodules | README | LICENSE

commit 8086fea059ca652c7d4b38cef837e911459ef70f
parent 91457c5d4aed678504951842f6fa95c892aebacd
Author: Antoine A <>
Date:   Thu, 19 Feb 2026 00:05:25 +0100

common: repair CI

Diffstat:
Mcommon/taler-test-utils/src/routine.rs | 12++++++------
Mcontrib/ci/jobs/2-test/job.sh | 14++++++++++++--
2 files changed, 18 insertions(+), 8 deletions(-)

diff --git a/common/taler-test-utils/src/routine.rs b/common/taler-test-utils/src/routine.rs @@ -1,6 +1,6 @@ /* This file is part of TALER - Copyright (C) 2024-2025 Taler Systems SA + Copyright (C) 2024, 2025, 2026 Taler Systems SA TALER is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software @@ -136,7 +136,7 @@ pub async fn routine_history< // Check no polling when we cannot have more transactions assert_time( - 0..100, + 0..200, assert_history!( format_args!("limit=-{}&timeout_ms=1000", nb_register + 1), nb_register @@ -145,7 +145,7 @@ pub async fn routine_history< .await; // Check no polling when already find transactions even if less than delta assert_time( - 0..100, + 0..200, assert_history!( format_args!("limit={}&timeout_ms=1000", nb_register + 1), nb_register @@ -158,11 +158,11 @@ pub async fn routine_history< tokio::join!( // Check polling succeed assert_time( - 100..300, + 100..400, assert_history!(format_args!("limit=2&offset={id}&timeout_ms=1000"), 1) ), assert_time( - 200..300, + 200..400, assert_history!( format_args!( "limit=1&offset={}&timeout_ms=200", @@ -183,7 +183,7 @@ pub async fn routine_history< tokio::join!( // Check polling succeed assert_time( - 100..300, + 100..400, assert_history!(format_args!("limit=7&offset={id}&timeout_ms=1000"), 1) ), async { diff --git a/contrib/ci/jobs/2-test/job.sh b/contrib/ci/jobs/2-test/job.sh @@ -11,4 +11,14 @@ apt-get upgrade -yq # Setup postgres cluster sudo -u postgres pg_ctlcluster 17 main start sudo -u postgres createuser root --superuser -sudo -u postgres createdb -O root taler_rust_check -\ No newline at end of file +sudo -u postgres createdb -O root taler_rust_check + +check_command() +{ + make check &> test-suite.log +} + +if ! check_command ; then + cat test-suite.log + exit 1 +fi +\ No newline at end of file