diff options
author | Ahmad Sherif <ahmad.m.sherif@gmail.com> | 2017-10-02 19:23:45 +0300 |
---|---|---|
committer | Ahmad Sherif <ahmad.m.sherif@gmail.com> | 2017-10-02 19:23:45 +0300 |
commit | f898a2b36e60ff9ea97becb1e8dc097fccbaa812 (patch) | |
tree | 9975ff737d0fa07193df51250dff31c92c837349 | |
parent | f47478b034b9137618eecd98ec6ac740d1f1fd71 (diff) | |
parent | 456bdaf1e44ecdf0ca5852d6a85e1d7c07f2a880 (diff) |
Merge branch 'fix-concurrency-test' into 'master'
Fix occasionally failing concurrency limiter test
See merge request gitlab-org/gitaly!386
-rw-r--r-- | internal/middleware/limithandler/concurrency_limiter_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/middleware/limithandler/concurrency_limiter_test.go b/internal/middleware/limithandler/concurrency_limiter_test.go index f045c2c31..be7acb8f4 100644 --- a/internal/middleware/limithandler/concurrency_limiter_test.go +++ b/internal/middleware/limithandler/concurrency_limiter_test.go @@ -121,8 +121,8 @@ func TestLimiter(t *testing.T) { iterations: 40, buckets: 50, // Intentionally leaving the max low because CI runners - // may struggle to do 80 things in parallel - wantMaxRange: []int{80, 102}, + // may struggle to do 100 things in parallel + wantMaxRange: []int{50, 102}, wantMonitorCalls: true, }, } |