dcapwell commented on code in PR #65:
URL: https://github.com/apache/cassandra-accord/pull/65#discussion_r1411379524
##########
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:
ill test and push this to the test if it has such a sharp edge (think it
does)
--
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]