diff options
author | Joseph <Joseph.xu@efrei.net> | 2022-11-21 09:45:16 -0500 |
---|---|---|
committer | Joseph <Joseph.xu@efrei.net> | 2022-11-21 10:40:10 -0500 |
commit | dbfd4e252a1bdbc7e4c8c97fd4780a13369b872c (patch) | |
tree | 9bf8828191e023a47dee0bbdb458165ba2f12b7b /src/exchangedb/test_exchangedb_by_j.c | |
parent | b9ccfbd66b192e11766f4129bae65c16fddffc5a (diff) |
batch test for reserves-in-insert
Diffstat (limited to 'src/exchangedb/test_exchangedb_by_j.c')
-rw-r--r-- | src/exchangedb/test_exchangedb_by_j.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/exchangedb/test_exchangedb_by_j.c b/src/exchangedb/test_exchangedb_by_j.c index eb600103..831416b4 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< 8; i++) + for (unsigned int i = 0; i< 7; i++) { - static unsigned int batches[] = {1, 1, 0, 2, 4, 16, 64, 256}; + static unsigned int batches[] = {1, 1, 2, 4, 16, 64, 256}; const char *sndr = "payto://x-taler-bank/localhost:8080/1"; struct TALER_Amount value; unsigned int batch_size = batches[i]; @@ -124,6 +124,7 @@ run (void *cls) reserves[k].execution_time = ts; reserves[k].sender_account_details = sndr; reserves[k].exchange_account_name = "name"; + reserves[k].wire_reference = k; } FAILIF (GNUNET_DB_STATUS_SUCCESS_ONE_RESULT != |