MockS3PartUploader.setup();
S3FileSystem fs = injector.getInstance(S3FileSystem.class);
// String snapshotfile = "target/data/Keyspace1/Standard1/backups/201108082320/Keyspace1-Standard1-ia-1-Data.db";
S3BackupPath backupfile = injector.getInstance(S3BackupPath.class);
backupfile.parseLocal(new File(FILE_PATH), BackupFileType.SNAP);
fs.upload(backupfile, backupfile.localReader());
Assert.assertEquals(1, MockS3PartUploader.compattempts);
}
@Test
public void testFileUploadFailures() throws Exception