mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 17:51:21 +00:00
Wait longer for the goroutine to stop.
This commit is contained in:
@@ -85,7 +85,7 @@ func TestResolver(t *testing.T) {
|
||||
go func() { r.Stop(); close(done) }()
|
||||
select {
|
||||
case <-done:
|
||||
case <-time.After(time.Millisecond):
|
||||
case <-time.After(100*time.Millisecond):
|
||||
t.Errorf("didn't Stop in time")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user