Merge pull request #1995 from weaveworks/1984-flaky-overlay-test

Give time to the overlay test backoff collectors to finish
This commit is contained in:
Alfonso Acosta
2016-11-08 23:35:30 +01:00
committed by GitHub

View File

@@ -81,6 +81,9 @@ func runTest(t *testing.T, f func(*overlay.Weave)) {
return len(have.Overlay.Nodes)
})
// Give some time for the Backoff collectors to finish
time.Sleep(time.Second)
f(w)
}