Skip to content

Conversation

@akhera99
Copy link
Member

Integration tests were failing here: https://github.com/dotnet/roslyn/blob/main/src/VisualStudio/IntegrationTest/New.IntegrationTests/CSharp/CSharpReplIdeFeatures.cs

Specifically the dataSourceTask.GetResult() was throwing an OperationCanceledException:
https://github.com/dotnet/roslyn/blob/main/src/VisualStudio/IntegrationTest/New.IntegrationTests/InProcess/ShellInProcess.cs#L107

Seems like the timeout being 0 was immediately canceling the token inappropriately.

@akhera99 akhera99 requested a review from a team as a code owner September 18, 2025 22:23
(uint)__VSCOMMANDTYPES.cCommandTypeButton,
commandName,
timeout: 0,
timeout: TestHelpers.HangMitigatingTimeout.Milliseconds,
Copy link
Member

Choose a reason for hiding this comment

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

Doesn't this need to be TotalMilliseconds?

Copy link
Member Author

Choose a reason for hiding this comment

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

whoops yes

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