Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Service Bus] reduce livetest time #18176

Merged
merged 3 commits into from
May 26, 2021

Conversation

swathipil
Copy link
Member

fixes: #13056

@yunhaoling
Copy link
Contributor

@swathipil , this is great! let's kick off the livetest pipeline to see how much time you have saved 😉

@@ -231,7 +231,7 @@ async def test_async_queue_by_queue_client_conn_str_receive_handler_receiveandde

assert not receiver._running
assert len(messages) == 10
time.sleep(30)
time.sleep(10)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we ensure this will not increase the number of transient failures? same question for all similar changes

Copy link
Member Author

@swathipil swathipil May 24, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's a good point. I'm not sure that this won't increase transient failures. Do you know what the best way to check that would be?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rakshith91 thanks for being thoughtful!

as far as I could remember, the transient failures are usually caused by tests including receiving which doesn't wait long enough.

I think we could merge the PR first and see how it goes, if we keep observing failures, then we fix them :P

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sounds good to me!

@swathipil swathipil requested a review from RAY-316 as a code owner May 24, 2021 20:32
@swathipil
Copy link
Member Author

/azp run python - servicebus - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@swathipil swathipil merged commit 040e528 into Azure:master May 26, 2021
rakshith91 pushed a commit to rakshith91/azure-sdk-for-python that referenced this pull request Jun 1, 2021
* change mgmt livetests to recordings

* set lock duration low for less sleep
azure-sdk pushed a commit to azure-sdk/azure-sdk-for-python that referenced this pull request May 6, 2022
[Hub Generated] Review request for Microsoft.ContainerRegistry to add version preview/2022-02-01-preview (Azure#18176)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ServiceBus] Cut off livetest time
3 participants