increase trip volume
This commit is contained in:
parent
c1737d7329
commit
6a492de7a3
@ -30,7 +30,7 @@ func TestBreaker(t *testing.T) {
|
|||||||
var rsp map[string]interface{}
|
var rsp map[string]interface{}
|
||||||
|
|
||||||
// Force to point of trip
|
// Force to point of trip
|
||||||
for i := 0; i < (hystrix.DefaultVolumeThreshold * 2); i++ {
|
for i := 0; i < (hystrix.DefaultVolumeThreshold * 3); i++ {
|
||||||
c.Call(context.TODO(), req, rsp)
|
c.Call(context.TODO(), req, rsp)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user