commit 588e182583386dc6a7699a8a19982f07d333801b
parent 3a1738942c000e3e1e24358a67f5dc21541881a2
Author: Özgür Kesim <oec@codeblau.de>
Date: Thu, 1 May 2025 11:46:14 +0200
[util] adjust tests to obey max batch size of 64
TALER_MAX_COINS is now 64, so the tests for batch signing
need to be adjusted accordingly.
Diffstat:
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/util/test_helper_cs.c b/src/util/test_helper_cs.c
@@ -1067,11 +1067,11 @@ run_test (void)
true);
if (0 == ret)
ret = test_batch_signing (dh,
- 256,
+ 64,
true);
- for (unsigned int i = 0; i<5; i++)
+ for (unsigned int i = 0; i<4; i++)
{
- static unsigned int batches[] = { 1, 4, 16, 64, 256 };
+ static unsigned int batches[] = { 1, 4, 16, 64 };
unsigned int batch_size = batches[i];
struct GNUNET_TIME_Absolute start;
struct GNUNET_TIME_Relative duration;
diff --git a/src/util/test_helper_rsa.c b/src/util/test_helper_rsa.c
@@ -892,11 +892,11 @@ run_test (void)
true);
if (0 == ret)
ret = test_batch_signing (dh,
- 256,
+ 64,
true);
- for (unsigned int i = 0; i<5; i++)
+ for (unsigned int i = 0; i<4; i++)
{
- static unsigned int batches[] = { 1, 4, 16, 64, 256 };
+ static unsigned int batches[] = { 1, 4, 16, 64 };
unsigned int batch_size = batches[i];
struct GNUNET_TIME_Absolute start;
struct GNUNET_TIME_Relative duration;