File tree Expand file tree Collapse file tree 2 files changed +0
-39
lines changed
test/src/com/rabbitmq/client/test Expand file tree Collapse file tree 2 files changed +0
-39
lines changed Original file line number Diff line number Diff line change @@ -344,43 +344,6 @@ public void testLimitInheritsUnackedCount()
344344 drain (c , 1 );
345345 }
346346
347- public void testFlow () throws IOException
348- {
349- QueueingConsumer c = new QueueingConsumer (channel );
350- declareBindConsume (c );
351- fill (1 );
352- drain (c , 1 );
353- channel .flow (false );
354- fill (1 );
355- drain (c , 0 );
356- channel .flow (true );
357- drain (c , 1 );
358- }
359-
360- public void testLimitAndFlow () throws IOException
361- {
362- channel .basicQos (1 );
363- QueueingConsumer c = new QueueingConsumer (channel );
364- declareBindConsume (c );
365- channel .flow (false );
366- fill (3 );
367- drain (c , 0 );
368- channel .flow (true );
369- ack (drain (c , 1 ), false );
370- drain (c , 1 );
371- channel .basicQos (0 );
372- drain (c , 1 );
373- }
374-
375- public void testNoConsumers () throws Exception {
376- String q = declareBind (channel );
377- fill (1 );
378- channel .flow (false );
379- QueueingConsumer c = new QueueingConsumer (channel );
380- channel .basicConsume (q , c );
381- drain (c , 0 );
382- }
383-
384347 public void testRecoverReducesLimit () throws Exception {
385348 channel .basicQos (2 );
386349 QueueingConsumer c = new QueueingConsumer (channel );
Original file line number Diff line number Diff line change @@ -129,9 +129,7 @@ public long run() throws IOException {
129129 channel .basicQos (1 );
130130 QueueingConsumer consumer = new QueueingConsumer (channel );
131131 try {
132- channel .flow (false );
133132 publish (consume (consumer ));
134- channel .flow (true );
135133 return drain (consumer );
136134 } finally {
137135 connection .abort ();
You can’t perform that action at this time.
0 commit comments