summaryrefslogtreecommitdiff
path: root/src/exchangedb/test_exchangedb.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-03-03 19:39:19 +0100
committerChristian Grothoff <christian@grothoff.org>2022-03-03 19:39:25 +0100
commitf951cdef8ced141326887c1a996e8546774514f6 (patch)
tree6de32e119c3b074e81229cb9c7f4c7252a61bb31 /src/exchangedb/test_exchangedb.c
parent4c53d42e44cbab55194b2f0fb71ffc3cb082b56a (diff)
downloadexchange-f951cdef8ced141326887c1a996e8546774514f6.tar.gz
exchange-f951cdef8ced141326887c1a996e8546774514f6.tar.bz2
exchange-f951cdef8ced141326887c1a996e8546774514f6.zip
include shard when marking deposits tiny/done to make better use of partitions/shards
Diffstat (limited to 'src/exchangedb/test_exchangedb.c')
-rw-r--r--src/exchangedb/test_exchangedb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/exchangedb/test_exchangedb.c b/src/exchangedb/test_exchangedb.c
index cad2983ea..7ca1839ff 100644
--- a/src/exchangedb/test_exchangedb.c
+++ b/src/exchangedb/test_exchangedb.c
@@ -2279,6 +2279,7 @@ run (void *cls)
"test-2"));
FAILIF (GNUNET_DB_STATUS_SUCCESS_ONE_RESULT !=
plugin->mark_deposit_tiny (plugin->cls,
+ &deposit.merchant_pub,
deposit_rowid));
FAILIF (GNUNET_DB_STATUS_SUCCESS_NO_RESULTS !=
plugin->get_ready_deposit (plugin->cls,
@@ -2300,6 +2301,7 @@ run (void *cls)
"test-3"));
FAILIF (GNUNET_DB_STATUS_SUCCESS_ONE_RESULT !=
plugin->mark_deposit_done (plugin->cls,
+ &deposit.merchant_pub,
deposit_rowid));
FAILIF (GNUNET_DB_STATUS_SUCCESS_NO_RESULTS !=
plugin->commit (plugin->cls));