diff --git a/src/restic/archiver/archiver_duplication_test.go b/src/restic/archiver/archiver_duplication_test.go index aadfc5904..ef59bb08c 100644 --- a/src/restic/archiver/archiver_duplication_test.go +++ b/src/restic/archiver/archiver_duplication_test.go @@ -142,6 +142,11 @@ func testArchiverDuplication(t *testing.T) { close(done) wg.Wait() + + err = repo.Flush() + if err != nil { + t.Fatal(err) + } } func TestArchiverDuplication(t *testing.T) {