File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
rabbitmq_amqp_python_client Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ def stop(self) -> None:
151151 self ._receiver .container .stop ()
152152
153153 def _create_receiver (self , addr : Optional [str ] = None ) -> BlockingReceiver :
154- credit = 2
154+ credit = 10
155155 if self ._credit is not None :
156156 credit = self ._credit
157157
Original file line number Diff line number Diff line change @@ -21,11 +21,11 @@ def create_connection(environment: Environment) -> Connection:
2121
2222def test_direct_reply_to_send_and_receive (environment : Environment ) -> None :
2323 """Test that messages can be published to and consumed from a direct reply-to queue."""
24- messages_to_send = 10
24+ messages_to_send = 100
2525
2626 # Create a consumer using DirectReplyToConsumerOptions
2727 consumer = create_connection (environment ).consumer (
28- consumer_options = DirectReplyToConsumerOptions ()
28+ credit = 100 , consumer_options = DirectReplyToConsumerOptions ()
2929 )
3030
3131 # Get the queue address from the consumer
You can’t perform that action at this time.
0 commit comments