Skip to content

Change TestDeleteMFADeviceSync to do per-delete assertions#26311

Merged
codingllama merged 2 commits intomasterfrom
codingllama/deletesync-flaky
May 16, 2023
Merged

Change TestDeleteMFADeviceSync to do per-delete assertions#26311
codingllama merged 2 commits intomasterfrom
codingllama/deletesync-flaky

Conversation

@codingllama
Copy link
Copy Markdown
Contributor

@codingllama codingllama commented May 15, 2023

Change TestDeleteMFADeviceSync to assert inside the t.Run loop and remove trailing assertions.

#26190

@codingllama codingllama requested a review from kimlisa May 15, 2023 22:03
@github-actions github-actions Bot requested review from fspmarshall and xacrimon May 15, 2023 22:04
@codingllama
Copy link
Copy Markdown
Contributor Author

This seems to cut down flakiness for me, although I can't say I'm sure what was the problem with the original test. Still, this style is a bit more usual, so not a terrible change.

@codingllama codingllama force-pushed the codingllama/deletesync-flaky branch from ce33b15 to 2f35868 Compare May 15, 2023 22:08
Copy link
Copy Markdown
Contributor

@kimlisa kimlisa left a comment

Choose a reason for hiding this comment

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

thanks for the fix, i tested it out with and without change and it seemed to have rid the issue

@codingllama codingllama enabled auto-merge May 16, 2023 19:19
@codingllama codingllama added this pull request to the merge queue May 16, 2023
Merged via the queue into master with commit d5e3d78 May 16, 2023
@codingllama codingllama deleted the codingllama/deletesync-flaky branch May 16, 2023 19:33
@public-teleport-github-review-bot
Copy link
Copy Markdown

@codingllama See the table below for backport results.

Branch Result
branch/v11 Failed
branch/v12 Failed
branch/v13 Create PR

codingllama added a commit that referenced this pull request May 16, 2023
* Change TestDeleteMFADeviceSync to do per-delete assertions

* nit: Change minDevices to `1` for readability
codingllama added a commit that referenced this pull request May 16, 2023
* Change TestDeleteMFADeviceSync to do per-delete assertions

* nit: Change minDevices to `1` for readability
codingllama added a commit that referenced this pull request May 17, 2023
)

* Change TestDeleteMFADeviceSync to do per-delete assertions (#26311)

* Change TestDeleteMFADeviceSync to do per-delete assertions

* nit: Change minDevices to `1` for readability

* Add assert import
codingllama added a commit that referenced this pull request May 17, 2023
…26408)

* Change TestDeleteMFADeviceSync to do per-delete assertions

* nit: Change minDevices to `1` for readability
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants