This is an automated email from the ASF dual-hosted git repository.
aleksey pushed a commit to branch cep-15-accord
in repository https://gitbox.apache.org/repos/asf/cassandra.git
The following commit(s) were added to refs/heads/cep-15-accord by this push:
new adaf579741 Quick fix for AccordCommandStoreTest#commandLoadSave()
adaf579741 is described below
commit adaf579741b44a9b2dfdb754e0b28c3a1400776a
Author: Aleksey Yeschenko <[email protected]>
AuthorDate: Fri Nov 17 16:01:47 2023 +0000
Quick fix for AccordCommandStoreTest#commandLoadSave()
---
.../org/apache/cassandra/service/accord/AccordCommandStoreTest.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/test/unit/org/apache/cassandra/service/accord/AccordCommandStoreTest.java
b/test/unit/org/apache/cassandra/service/accord/AccordCommandStoreTest.java
index 9ee1efe9c0..e3cb042cb1 100644
--- a/test/unit/org/apache/cassandra/service/accord/AccordCommandStoreTest.java
+++ b/test/unit/org/apache/cassandra/service/accord/AccordCommandStoreTest.java
@@ -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);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]