mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 02:00:43 +00:00
Sleep to stop TestRegistryDelete() failing
This commit is contained in:
@@ -470,7 +470,7 @@ func TestRegistryDelete(t *testing.T) {
|
||||
setupStubs(mdc, func() {
|
||||
registry := testRegistry()
|
||||
defer registry.Stop()
|
||||
runtime.Gosched()
|
||||
time.Sleep(time.Millisecond * 100) // Allow for goroutines to get started
|
||||
|
||||
// Collect all the events.
|
||||
mtx := sync.Mutex{}
|
||||
|
||||
Reference in New Issue
Block a user