diff options
author | Marco Boss <bossm8@bfh.ch> | 2022-03-02 19:03:54 +0100 |
---|---|---|
committer | Marco Boss <bossm8@bfh.ch> | 2022-03-02 19:03:54 +0100 |
commit | 57e3864c095f7ac7ca2fe5744a7ec05feb7d56be (patch) | |
tree | bf58c563f59389902fc95fac227122dbb099e3fc /src/exchangedb/test_exchangedb.c | |
parent | 10d7d93ad8002b0ea70899d8cdb503b91ce20d74 (diff) | |
parent | 79d123d1b4a39e69cfbcb3820e71e805a623b8ad (diff) |
Include partitioning in dbinit
Diffstat (limited to 'src/exchangedb/test_exchangedb.c')
-rw-r--r-- | src/exchangedb/test_exchangedb.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/exchangedb/test_exchangedb.c b/src/exchangedb/test_exchangedb.c index 497d6140..cad2983e 100644 --- a/src/exchangedb/test_exchangedb.c +++ b/src/exchangedb/test_exchangedb.c @@ -1333,6 +1333,7 @@ run (void *cls) struct TALER_EXCHANGEDB_TransactionList *tlp; const char *sndr = "payto://x-taler-bank/localhost:8080/1"; const char *rcvr = "payto://x-taler-bank/localhost:8080/2"; + const uint32_t num_partitions = 10; unsigned int matched; unsigned int cnt; enum GNUNET_DB_QueryStatus qs; @@ -1378,6 +1379,12 @@ run (void *cls) result = 77; goto cleanup; } + if (GNUNET_OK != + plugin->setup_partitions (plugin->cls, num_partitions)) + { + result = 77; + goto cleanup; + } plugin->preflight (plugin->cls); FAILIF (GNUNET_OK != plugin->start (plugin->cls, |