Skip to content
This repository has been archived by the owner on Apr 20, 2021. It is now read-only.

Commit

Permalink
Merge pull request weaveworks#1995 from weaveworks/1984-flaky-overlay…
Browse files Browse the repository at this point in the history
…-test

Give time to the overlay test backoff collectors to finish
  • Loading branch information
Alfonso Acosta authored Nov 8, 2016
2 parents 072bea9 + 74490b8 commit c6fe3b8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions probe/overlay/weave_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit c6fe3b8

Please sign in to comment.