diff options
author | Joseph <Joseph.xu@efrei.net> | 2022-11-15 05:55:43 -0500 |
---|---|---|
committer | Joseph <Joseph.xu@efrei.net> | 2022-11-15 05:55:43 -0500 |
commit | 5335e30dd122645b0b05d25eb01d0cb32fd333da (patch) | |
tree | aae713c91c32a49d20a2308b9ea502e8581d990b /src/exchangedb/test_exchangedb_by_j.c | |
parent | 656ec29d5e30f4020046b2126254dda22dd5bc25 (diff) | |
download | exchange-5335e30dd122645b0b05d25eb01d0cb32fd333da.tar.xz |
some modifications
Diffstat (limited to 'src/exchangedb/test_exchangedb_by_j.c')
-rw-r--r-- | src/exchangedb/test_exchangedb_by_j.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/exchangedb/test_exchangedb_by_j.c b/src/exchangedb/test_exchangedb_by_j.c index b17b51bc5..da29abf0a 100644 --- a/src/exchangedb/test_exchangedb_by_j.c +++ b/src/exchangedb/test_exchangedb_by_j.c @@ -98,9 +98,9 @@ run (void *cls) goto cleanup; } - for (unsigned int i = 0; i< 5;i++) + for (unsigned int i = 0; i< 6;i++) { - static unsigned int batches[]={1, 2, 4, 16, 64}; + static unsigned int batches[]={1, 1, 2, 4, 16, 64}; const char *sndr = "payto://x-taler-bank/localhost:8080/1"; struct TALER_Amount value; unsigned int batch_size = batches[i]; @@ -109,7 +109,6 @@ run (void *cls) struct TALER_ReservePublicKeyP reserve_pub; now = GNUNET_TIME_timestamp_get(); - RND_BLK (&reserve_pub); GNUNET_assert (GNUNET_OK == TALER_string_to_amount (CURRENCY ":1.000010", &value)); @@ -117,6 +116,7 @@ run (void *cls) "test_by_exchange_j"); for (unsigned int k=0;k<batch_size;k++) { + RND_BLK (&reserve_pub); FAILIF (GNUNET_DB_STATUS_SUCCESS_ONE_RESULT != plugin->reserves_in_insert (plugin->cls, &reserve_pub, @@ -160,7 +160,7 @@ main (int argc, return -1; } GNUNET_log_setup (argv[0], - "DEBUG", + "WARNING", NULL); plugin_name++; (void) GNUNET_asprintf (&testname, |