We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d0f336 commit c8c459dCopy full SHA for c8c459d
1 file changed
caddy/admin_test.go
@@ -213,8 +213,8 @@ func TestAutoScaleRegularThreadsOnAutomaticThreadLimit(t *testing.T) {
213
wg.Add(requestsPerTry)
214
for range requestsPerTry {
215
go func() {
216
+ defer wg.Done()
217
tester.AssertGetResponse(endpoint, http.StatusOK, "slept for 2 ms and worked for 1000 iterations")
- wg.Done()
218
}()
219
}
220
wg.Wait()
0 commit comments