Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime Martinez <jmartinez@gitlab.com>2022-07-26 10:33:32 +0300
committerJaime Martinez <jmartinez@gitlab.com>2022-07-26 10:33:32 +0300
commitee1c27e7f1485777dcfbc318ea94b0bb1b8c8614 (patch)
treec656eaa5d3c37970f4504407e7c8b96ce54cce1b /internal
parent0674de2e8e74a35bec70380b02da63dd7db1b8bb (diff)
Fix wait group add order in test
Diffstat (limited to 'internal')
-rw-r--r--internal/source/gitlab/gitlab_test.go2
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()