Merge pull request #3973 from MichaelEischer/speedup-integration-tests

speed-up integration tests by reducing the RetryBackend timeout
This commit is contained in:
Michael Eischer authored and GitHub committed 2022-10-21 21:17:35 +02:00
commit 8e2695be0b
6 files changed
+28 -69

No files matched your search

+2
View File
@@ -9,6 +9,7 @@ import (
"runtime"
"testing"
"github.com/restic/restic/internal/backend"
"github.com/restic/restic/internal/options"
"github.com/restic/restic/internal/repository"
"github.com/restic/restic/internal/restic"
@@ -171,6 +172,7 @@ func withTestEnvironment(t testing.TB) (env *testEnvironment, cleanup func()) {
repository.TestUseLowSecurityKDFParameters(t)
restic.TestDisableCheckPolynomial(t)
backend.TestFastRetries(t)
tempdir, err := ioutil.TempDir(rtest.TestTempDir, "restic-test-")
rtest.OK(t, err)