1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-24 00:37:28 +00:00

Increase number of chunks and test repetitions

This commit is contained in:
Philipp Serr 2015-12-09 21:38:03 +01:00
parent 3d7f72311a
commit e7bf936d2b

View file

@ -245,7 +245,7 @@ func BenchmarkLoadTree(t *testing.B) {
// Saves several identical chunks concurrently and later checks that there are no // Saves several identical chunks concurrently and later checks that there are no
// unreferenced packs in the repository. See also #292 and #358. // unreferenced packs in the repository. See also #292 and #358.
func TestParallelSaveWithDuplication(t *testing.T) { func TestParallelSaveWithDuplication(t *testing.T) {
for seed := 0; seed < 5; seed++ { for seed := 0; seed < 10; seed++ {
testParallelSaveWithDuplication(t, seed) testParallelSaveWithDuplication(t, seed)
} }
} }
@ -254,7 +254,7 @@ func testParallelSaveWithDuplication(t *testing.T, seed int) {
repo := SetupRepo() repo := SetupRepo()
defer TeardownRepo(repo) defer TeardownRepo(repo)
dataSizeMb := 92 dataSizeMb := 128
duplication := 7 duplication := 7
arch := restic.NewArchiver(repo) arch := restic.NewArchiver(repo)