示例#1
0
func TestBlobsFileBackendWriteOnly(t *testing.T) {
	b := New("./tmp_blobsfile_test_wo", 0, false, true)
	//check(err)
	defer b.Close()
	defer os.RemoveAll("./tmp_blobsfile_test_wo")
	backend.TestWriteOnly(t, b)
}
示例#2
0
func TestBlobsFileBackendWriteOnlyWithSmallMaxBlobsFileSize(t *testing.T) {
	b := New("./tmp_blobsfile_test_wo_small", 512, false, true)
	//check(err)
	defer b.Close()
	defer os.RemoveAll("./tmp_blobsfile_test_wo_small")
	backend.TestWriteOnly(t, b)
}
示例#3
0
func TestGlacierBackend(t *testing.T) {
	b := New("blobstashvaultest", "eu-west-1", "tmp_blobsfile_glacier")
	backend.TestWriteOnly(t, b)
}