Quick fix for AccordCommandStoreTest#commandLoadSave()

This commit is contained in:
Aleksey Yeschenko 2023-11-17 16:01:47 +00:00 committed by David Capwell
parent 4c575a7e48
commit 0e899532dc
1 changed files with 2 additions and 1 deletions

View File

@ -111,6 +111,7 @@ public class AccordCommandStoreTest
CommonAttributes.Mutable attrs = new CommonAttributes.Mutable(txnId);
PartialTxn txn = createPartialTxn(0);
Route<?> route = RoutingKeys.of(key.toUnseekable()).toRoute(key.toUnseekable());
attrs.partialTxn(txn);
attrs.route(route);
attrs.durability(Majority);
Ballot promised = ballot(1, clock.incrementAndGet(), 1);
@ -139,7 +140,7 @@ public class AccordCommandStoreTest
depTxn.keys(),
executeAt,
dependencies,
null,
txn,
result.left,
Result.APPLIED);
commandStore.appendToJournal(apply);