dcapwell commented on code in PR #65:
URL: https://github.com/apache/cassandra-accord/pull/65#discussion_r1411327166
##########
accord-core/src/test/java/accord/Utils.java:
##########
@@ -118,6 +123,16 @@ public static Txn writeTxn(Ranges ranges)
return new Txn.InMemory(ranges, MockStore.read(ranges),
MockStore.QUERY, MockStore.update(ranges));
}
+ public static Txn listWriteTxn(Node.Id client, Keys keys)
+ {
+ ListUpdate update = new ListUpdate(Function.identity());
+ for (Key k : keys)
+ update.put(k, 1);
Review Comment:
possible... I really didn't bother testing... I think `Timestamped` doesn't
like this... its been awhile...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]