use of org.apache.cassandra.repair.RepairJobDesc in project cassandra by apache.
the class RepairMessageSerializationsTest method validationCompleteMessage.
private ValidationComplete validationCompleteMessage(MerkleTrees trees) throws IOException {
RepairJobDesc jobDesc = buildRepairJobDesc();
ValidationComplete msg = trees == null ? new ValidationComplete(jobDesc) : new ValidationComplete(jobDesc, trees);
ValidationComplete deserialized = serializeRoundTrip(msg, ValidationComplete.serializer);
return deserialized;
}
Aggregations