use of com.instaclustr.esop.impl.list.ListOperationRequest in project esop by instaclustr.
the class GoogleListingAndBackupRemovalTest method destroy.
@Override
public void destroy() throws Exception {
try {
FileUtils.deleteDirectory(cassandraDir);
} catch (final Exception ex) {
logger.error("Unable to remove Cassandra dir " + cassandraDir);
}
try {
ListOperationRequest request = new ListOperationRequest();
request.storageLocation = new StorageLocation(getStorageLocation());
new GCPBucketService(storageFactory, request).delete(BUCKET_NAME);
} catch (final Exception ex) {
logger.error("Unable to remove bucket " + BUCKET_NAME);
}
}
Aggregations