jacek-lewandowski commented on code in PR #2149:
URL: https://github.com/apache/cassandra/pull/2149#discussion_r1102882637
##########
test/unit/org/apache/cassandra/service/snapshot/SnapshotManagerTest.java:
##########
@@ -43,27 +51,38 @@
@BeforeClass
public static void beforeClass()
{
+ ByteBuddyAgent.install();
DatabaseDescriptor.daemonInitialization();
FileUtils.setFSErrorHandler(new DefaultFSErrorHandler());
}
@ClassRule
public static TemporaryFolder temporaryFolder = new TemporaryFolder();
- private TableSnapshot generateSnapshotDetails(String tag, Instant
expiration) throws Exception {
- return new TableSnapshot(
- "ks",
- "tbl",
- UUID.randomUUID(),
- tag,
- Instant.EPOCH,
- expiration,
- createFolders(temporaryFolder)
- );
+ private TableSnapshot generateSnapshotDetails(String tag, Instant
expiration)
+ {
+ try
+ {
+ return new TableSnapshot(
+ "ks",
Review Comment:
nit:formatting
--
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]