Compare commits
No commits in common. "5358050f93cac29837d6e452180de70af43af2dc" and "aaef16af25acca91a03e7d35a807ba5887fa8904" have entirely different histories.
5358050f93
...
aaef16af25
1 changed files with 2 additions and 9 deletions
|
|
@ -111,15 +111,8 @@ func TestRun_VerifieLesTroisTypesDeRessource(t *testing.T) {
|
|||
w := New(db, testCfg(t), n, l, 10*time.Millisecond)
|
||||
|
||||
ctx, cancel := context.WithCancel(context.Background())
|
||||
done := make(chan struct{})
|
||||
go func() {
|
||||
w.Run(ctx)
|
||||
close(done)
|
||||
}()
|
||||
defer func() {
|
||||
cancel()
|
||||
<-done
|
||||
}()
|
||||
defer cancel()
|
||||
go w.Run(ctx)
|
||||
|
||||
kinds := map[string]bool{}
|
||||
deadline := time.After(5 * time.Second)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue