Compare commits

..

No commits in common. "5358050f93cac29837d6e452180de70af43af2dc" and "aaef16af25acca91a03e7d35a807ba5887fa8904" have entirely different histories.

View file

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