Extend Azure CLI timeout for tests on arm32v7#7505
Merged
Conversation
bilalsellak
approved these changes
May 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The end-to-end tests were intermittently (but frequently) failing on Debian 11 arm32v7, which is running on an old Raspberry Pi 3B agent (i.e., slow). We're only running the end-to-end tests on this platform in "minimal" mode, meaning we're just running one basic test--TempSensor--but it was still failing. The problem seems to be that getting a token from the Azure CLI (as with
az account get-access-token) can be pretty slow on the old Pi, and can timeout.I did two things to reduce the chances of failure:
new AzureCliCredential()each time. This translates to just a singleaz account get-access-tokencall.az account get-access-tokencall from the default 13 seconds to 60 seconds.I ran the end-to-end tests a couple times against the change and they pass on all platforms.
Azure IoT Edge PR checklist:
This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines and Best Practices
Testing Guidelines