Skip to content

Make rename integration test less flaky#12674

Merged
davidwengier merged 5 commits intomainfrom
dev/dawengie/FixRenameIntegrationTest
Jan 14, 2026
Merged

Make rename integration test less flaky#12674
davidwengier merged 5 commits intomainfrom
dev/dawengie/FixRenameIntegrationTest

Conversation

@davidwengier
Copy link
Member

Trying everything I could possibly think of, seems better on my machine at least :)

@davidwengier davidwengier requested a review from a team as a code owner January 13, 2026 09:49
await JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);

var dispatcher = await GetRequiredGlobalServiceAsync<SUIHostCommandDispatcher, IOleCommandTarget>(cancellationToken);
var dispatcher = await TestServices.Shell.GetRequiredGlobalServiceAsync<SUIHostCommandDispatcher, IOleCommandTarget>(cancellationToken);
Copy link
Member

Choose a reason for hiding this comment

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

Nit: It would be nice to add some comments explaining what this is doing. My understanding is that we're basically checking (with a retry) that the command is actually enabled before trying to execute it?

@davidwengier davidwengier merged commit 3eb8321 into main Jan 14, 2026
10 checks passed
@davidwengier davidwengier deleted the dev/dawengie/FixRenameIntegrationTest branch January 14, 2026 22:57
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Jan 14, 2026
@davidwengier davidwengier modified the milestones: Next, 18.4 Jan 27, 2026
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.

2 participants