This is an automated email from the ASF dual-hosted git repository. maedhroz pushed a commit to branch cep-15-accord in repository https://gitbox.apache.org/repos/asf/cassandra.git
commit 7055f4d9e34577f775e555c74b570280176b1955 Author: David Capwell <[email protected]> AuthorDate: Fri Dec 16 12:46:57 2022 -0800 Ninja for CASSANDRA-17719: Changed AsyncWriterTest#commandsPerKeyDenormalization to use SaveStatus rather than Status --- .../org/apache/cassandra/service/accord/async/AsyncWriterTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/unit/org/apache/cassandra/service/accord/async/AsyncWriterTest.java b/test/unit/org/apache/cassandra/service/accord/async/AsyncWriterTest.java index 9d2e1e5a2b..3e148498ce 100644 --- a/test/unit/org/apache/cassandra/service/accord/async/AsyncWriterTest.java +++ b/test/unit/org/apache/cassandra/service/accord/async/AsyncWriterTest.java @@ -26,6 +26,7 @@ import org.junit.BeforeClass; import org.junit.Test; import accord.local.Command; +import accord.local.SaveStatus; import accord.local.Status; import accord.primitives.Ranges; import accord.primitives.Timestamp; @@ -147,7 +148,7 @@ public class AsyncWriterTest AccordCommand command = new AccordCommand(txnId).initialize(); command.setPartialTxn(txn.slice(ranges, true)); command.setExecuteAt(executeAt); - command.setStatus(Status.Accepted); + command.setSaveStatus(SaveStatus.AcceptedWithDefinition); AsyncContext context = new AsyncContext(); context.commands.add(command); save(commandStore, context); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
