From 41c59589d5f61f180623db22317fb505e3358397 Mon Sep 17 00:00:00 2001 From: Philip O'Toole Date: Tue, 6 Feb 2024 10:01:05 -0500 Subject: [PATCH] Actually fix it --- auto/backup/uploader_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto/backup/uploader_test.go b/auto/backup/uploader_test.go index aaeac026..fb999044 100644 --- a/auto/backup/uploader_test.go +++ b/auto/backup/uploader_test.go @@ -72,7 +72,7 @@ func Test_UploaderSingleUpload_ID(t *testing.T) { sc := &mockStorageClient{ currentIDFn: func(ctx context.Context) (string, error) { nCalled++ - if nCalled == 0 { + if nCalled == 1 { defer wg.Done() } return "1234", nil