Remove obsolete wg.Done calls in tests

These are no longer needed after using wg.Go
This commit is contained in:
Jesper Noordsij 2026-02-02 15:17:24 +01:00
parent 3b1222cb2e
commit 3fdf0a0b9c
No known key found for this signature in database
2 changed files with 0 additions and 3 deletions

View file

@ -507,7 +507,6 @@ func TestDifferentIntervals(t *testing.T) {
wg := sync.WaitGroup{}
wg.Go(func() {
hc.Launch(ctx)
wg.Done()
})
select {

View file

@ -51,8 +51,6 @@ func (eps UDPEntryPoints) Stop() {
for epn, ep := range eps {
wg.Go(func() {
defer wg.Done()
logger := log.With().Str(logs.EntryPointName, epn).Logger()
ep.Shutdown(logger.WithContext(context.Background()))