maedhroz commented on code in PR #3253:
URL: https://github.com/apache/cassandra/pull/3253#discussion_r1571327231
##########
test/unit/org/apache/cassandra/Util.java:
##########
@@ -850,4 +852,27 @@ public static void setUpgradeFromVersion(String version)
}
Gossiper.instance.expireUpgradeFromVersion();
}
+
+ /**
+ * Sets the length of the file to given size. File will be created if not
exist.
+ *
+ * @param file file for which length needs to be set
+ * @param size new szie
+ * @throws IOException on any I/O error.
+ */
+ public static void setFileLength(File file, long size) throws IOException
Review Comment:
nit: unused?
--
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]