Skip to content

Storage queue receive_messages unexpected behaviour #14762

Description

@kobibarhanin
  • Package Name: azure-storage-queue
  • Package Version: 12.1.3
  • Operating System: mac / linux
  • Python Version: 3.8.3

Describe the bug
When retrieving messages from a storage queue with:
receive_messages(messages_per_page=<SOME NUMBER>)
I get the entire queue back regardless of SOME NUMBER.
this is in contrast with expected behaviour and this method's docs.

To Reproduce
Steps to reproduce the behavior:

  1. run receive_messages on some queue with kw arg messages_per_page.

Expected behavior
return of messages_per_page messages (if exists).

image

Additional context
This is not additional context - but I'm also facing a weird issue that whenever I run receive_messages I have to wait for about 30 seconds to run it again to get results (if I run it sooner I get no results back) - anyone knows anything about this?

Thanks!

Metadata

Metadata

Labels

StorageStorage Service (Queues, Blobs, Files)customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-author-feedbackWorkflow: More information is needed from author to address the issue.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions