Merge pull request #1669 from restic/make-tests-faster

Reduce test runtime
This commit is contained in:
Alexander Neumann
2018-03-13 19:50:34 +01:00
11 changed files with 90 additions and 341 deletions

View File

@@ -43,6 +43,7 @@ const testChunkerPol = chunker.Pol(0x3DA3358B4DC173)
// is used for the chunker and low-security test parameters.
func TestRepositoryWithBackend(t testing.TB, be restic.Backend) (r restic.Repository, cleanup func()) {
TestUseLowSecurityKDFParameters(t)
restic.TestDisableCheckPolynomial(t)
var beCleanup func()
if be == nil {