Merge branch 'feature-83'
All checks were successful
Documentation / publish (push) Successful in 1m27s

This commit is contained in:
GnomeZworc 2026-10-24 16:42:18 +02:00
commit 5358050f93
Signed by: nicolas.boufideline
GPG key ID: 4406BBBF8845D632

View file

@ -111,8 +111,15 @@ func TestRun_VerifieLesTroisTypesDeRessource(t *testing.T) {
w := New(db, testCfg(t), n, l, 10*time.Millisecond)
ctx, cancel := context.WithCancel(context.Background())
defer cancel()
go w.Run(ctx)
done := make(chan struct{})
go func() {
w.Run(ctx)
close(done)
}()
defer func() {
cancel()
<-done
}()
kinds := map[string]bool{}
deadline := time.After(5 * time.Second)