From c6c1dccc5381703a2052d49407ae6dac8bd20cd7 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sun, 11 Mar 2018 21:10:37 +0100 Subject: [PATCH] Reduce data set for TestRestore --- cmd/restic/integration_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/restic/integration_test.go b/cmd/restic/integration_test.go index 013449640..d192b61fe 100644 --- a/cmd/restic/integration_test.go +++ b/cmd/restic/integration_test.go @@ -894,7 +894,7 @@ func TestRestore(t *testing.T) { for i := 0; i < 10; i++ { p := filepath.Join(env.testdata, fmt.Sprintf("foo/bar/testfile%v", i)) rtest.OK(t, os.MkdirAll(filepath.Dir(p), 0755)) - rtest.OK(t, appendRandomData(p, uint(mrand.Intn(5<<21)))) + rtest.OK(t, appendRandomData(p, uint(mrand.Intn(2<<21)))) } opts := BackupOptions{}