From e7bf936d2b82418be2d91d67b7e4cb0c4225ac54 Mon Sep 17 00:00:00 2001 From: Philipp Serr Date: Wed, 9 Dec 2015 21:38:03 +0100 Subject: [PATCH] Increase number of chunks and test repetitions --- archiver_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archiver_test.go b/archiver_test.go index b519db120..75b1176cb 100644 --- a/archiver_test.go +++ b/archiver_test.go @@ -245,7 +245,7 @@ func BenchmarkLoadTree(t *testing.B) { // Saves several identical chunks concurrently and later checks that there are no // unreferenced packs in the repository. See also #292 and #358. func TestParallelSaveWithDuplication(t *testing.T) { - for seed := 0; seed < 5; seed++ { + for seed := 0; seed < 10; seed++ { testParallelSaveWithDuplication(t, seed) } } @@ -254,7 +254,7 @@ func testParallelSaveWithDuplication(t *testing.T, seed int) { repo := SetupRepo() defer TeardownRepo(repo) - dataSizeMb := 92 + dataSizeMb := 128 duplication := 7 arch := restic.NewArchiver(repo)