Skip to content

Commit

Permalink
Try this
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbourgon committed Jan 13, 2016
1 parent ab86790 commit 1b27ffd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions circuitbreaker/util_test.go
Expand Up @@ -42,8 +42,9 @@ func testFailingEndpoint(t *testing.T, breaker endpoint.Middleware, primeWith in
}
thru := m.thru

// https://github.com/afex/hystrix-go/issues/41
time.Sleep(time.Millisecond)
// Adding the sleep due to https://github.com/afex/hystrix-go/issues/41
// Increasing the sleep due to https://github.com/go-kit/kit/issues/169
time.Sleep(5 * time.Millisecond)

// But the rest should be blocked by an open circuit.
for i := 0; i < 10; i++ {
Expand Down

0 comments on commit 1b27ffd

Please sign in to comment.