dcapwell commented on code in PR #4078:
URL: https://github.com/apache/cassandra/pull/4078#discussion_r2040363383
##########
test/unit/org/apache/cassandra/service/accord/txn/TxnConditionTest.java:
##########
@@ -68,8 +72,17 @@ public class TxnConditionTest
});
private static Gen<ByteBuffer> BYTES_GEN =
Generators.toGen(Generators.directAndHeapBytes(0, 10));
private static Gen<TxnReference> TXN_REF_GEN = rs -> {
- return rs.nextBoolean() ? new TxnReference(rs.nextInt(0,
Integer.MAX_VALUE), COLUM_METADATA_GEN.next(rs))
- : new TxnReference(rs.nextInt(0,
Integer.MAX_VALUE), COLUM_METADATA_GEN.next(rs),
CellPath.create(BYTES_GEN.next(rs)));
+ {
+ ColumnMetadata cm = COLUM_METADATA_GEN.next(rs);
+ TableMetadata.Builder builder =TableMetadata.builder("", "",
TableId.generate())
Review Comment:
nit:
```suggestion
TableMetadata.Builder builder = TableMetadata.builder("", "",
TableId.generate())
```
--
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]