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

Make tests more resilient to service latency #2890

Merged
merged 6 commits into from
Oct 19, 2022

Conversation

drwill-ms
Copy link
Contributor

A recent PR had to run the pipelines 5 times because some tests that use this flow kept failing after retries. But the retry settings, at least with the latest retry policy, are too meager. The tests didn't run for more than a few seconds, so this should give them more time in the event that the device registry is running slow.

@drwill-ms
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@drwill-ms drwill-ms force-pushed the drwill/test-timeout branch from 71167f4 to c1d63a5 Compare October 18, 2022 17:19
@drwill-ms
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@drwill-ms drwill-ms force-pushed the drwill/test-timeout branch from 4bbe1f4 to 5f0961a Compare October 18, 2022 17:38
@drwill-ms
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@drwill-ms
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@drwill-ms drwill-ms enabled auto-merge (squash) October 18, 2022 18:01
@drwill-ms drwill-ms force-pushed the drwill/test-timeout branch from a09746b to cc57f0c Compare October 18, 2022 20:44
@drwill-ms
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@drwill-ms drwill-ms force-pushed the drwill/test-timeout branch from 4aed1bd to 12fe173 Compare October 19, 2022 01:10
@drwill-ms
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@drwill-ms drwill-ms disabled auto-merge October 19, 2022 17:30
@drwill-ms drwill-ms force-pushed the drwill/test-timeout branch from cd61a6a to 53d21d8 Compare October 19, 2022 17:31
@drwill-ms
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

@brycewang-microsoft brycewang-microsoft left a comment

Choose a reason for hiding this comment

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

Glad to see that we are covering more cases for the errors returned by service!

@drwill-ms drwill-ms enabled auto-merge (squash) October 19, 2022 17:57
@drwill-ms drwill-ms merged commit 012844f into previews/v2 Oct 19, 2022
@drwill-ms drwill-ms deleted the drwill/test-timeout branch October 19, 2022 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants