Skip to content
Snippets Groups Projects
Commit 2a38120d authored by ale's avatar ale
Browse files

Reduce buffer size in queue_test

parent aee11ca1
No related branches found
No related tags found
No related merge requests found
Pipeline #15055 failed
......@@ -121,7 +121,8 @@ func TestSubmitter_HighRate(t *testing.T) {
func TestSubmitter_HighRate_Buffered(t *testing.T) {
// Same as above but with smaller MaxStored.
sent, calls := runTest(t, "qps=1000/buffered", &Options{
MaxStored: 100,
MaxStored: 100,
ChanBufferSize: 1,
}, 1000)
expected := 1 + sent/100
if calls != expected {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment