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:
authorVladimir Shushlin <vshushlin@gitlab.com>2022-07-26 14:15:06 +0300
committerVladimir Shushlin <vshushlin@gitlab.com>2022-07-26 14:15:06 +0300
commita6954bbd06060499109749645225c7c05f9596c1 (patch)
treeab54253e9a83a4428f2d33b80cada90c1ad9579c /internal
parent16d3858ca200e7ec391257f17199b259f9ae1271 (diff)
parentee1c27e7f1485777dcfbc318ea94b0bb1b8c8614 (diff)
Merge branch '800-fix-waitgroup-order' into 'master'
Fix wait group add order in test Closes #800 See merge request gitlab-org/gitlab-pages!824
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()