From 89a5152f7d008a658adf8097492851ff6a474067 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Mon, 23 Jan 2017 17:24:34 +0100 Subject: [PATCH] Fix Archiver test: Clean up temp files --- src/restic/archiver/archiver_duplication_test.go | 5 +++++ 1 file changed, 5 insertions(+) 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) {