From f2b83ece10790eded80ed401c99d9c8b542fdb72 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Thu, 11 May 2017 22:40:39 +0200 Subject: [PATCH] s3: Ignore errors for terminated minio server --- src/restic/backend/s3/s3_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/restic/backend/s3/s3_test.go b/src/restic/backend/s3/s3_test.go index 7b3f74ce9..b806b3885 100644 --- a/src/restic/backend/s3/s3_test.go +++ b/src/restic/backend/s3/s3_test.go @@ -71,6 +71,9 @@ func runMinio(ctx context.Context, t testing.TB, dir, key, secret string) func() if err != nil { t.Fatal(err) } + + // ignore errors, we've killed the process + _ = cmd.Wait() } }