diff options
author | Jaime Martinez <jmartinez@gitlab.com> | 2022-07-26 10:33:32 +0300 |
---|---|---|
committer | Jaime Martinez <jmartinez@gitlab.com> | 2022-07-26 10:33:32 +0300 |
commit | ee1c27e7f1485777dcfbc318ea94b0bb1b8c8614 (patch) | |
tree | c656eaa5d3c37970f4504407e7c8b96ce54cce1b /internal | |
parent | 0674de2e8e74a35bec70380b02da63dd7db1b8bb (diff) |
Fix wait group add order in test
Diffstat (limited to 'internal')
-rw-r--r-- | internal/source/gitlab/gitlab_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/source/gitlab/gitlab_test.go b/internal/source/gitlab/gitlab_test.go index df8299de..095fc2eb 100644 --- a/internal/source/gitlab/gitlab_test.go +++ b/internal/source/gitlab/gitlab_test.go @@ -164,8 +164,8 @@ func TestResolveLookupPathsConcurrentNetRequests(t *testing.T) { cache := cache.NewCache(mockClient, &testhelpers.CacheConfig) for i := 0; i < 3; i++ { - go sendResolveRequest(t, wg, cache, test) wg.Add(1) + go sendResolveRequest(t, wg, cache, test) } wg.Wait() |