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

Fix VB intellisense integration test #70756

Merged
merged 2 commits into from
Nov 14, 2023
Merged

Fix VB intellisense integration test #70756

merged 2 commits into from
Nov 14, 2023

Conversation

genlu
Copy link
Member

@genlu genlu commented Nov 10, 2023

No description provided.

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Infrastructure untriaged Issues and PRs which have not yet been triaged by a lead labels Nov 10, 2023
@genlu genlu changed the title VB integration test Fix VB intellisense integration test Nov 10, 2023
options.SetOptionValue(DefaultOptions.ResponsiveCompletionOptionId, false);
var latencyGuardOptionKey = new EditorOptionKey<bool>("EnableTypingLatencyGuard");
options.SetOptionValue(latencyGuardOptionKey, false);

Copy link
Member Author

@genlu genlu Nov 10, 2023

Choose a reason for hiding this comment

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

@sharwell Here's the issue I found. Both editor options are enabled here, despite we explicitly disabled them during the call to base.InitializeAsync() above (here). With this change, I no longer repro the failure locally.

Copy link
Member

Choose a reason for hiding this comment

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

@JoshuaBStevens @AmadeusW can you check this? It appears the editor is overwriting our explicit settings somewhere.

Copy link
Member Author

Choose a reason for hiding this comment

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

Filed a bug to track the option issue. Meanwhile, let's merge this to get the test fixed

@genlu genlu marked this pull request as ready for review November 13, 2023 19:15
@genlu genlu requested a review from a team as a code owner November 13, 2023 19:15
@genlu
Copy link
Member Author

genlu commented Nov 13, 2023

@sharwell PTAL, thanks

Comment on lines 32 to +35
await base.InitializeAsync();

// Try disable the responsive completion option again: https://github.com/dotnet/roslyn/issues/70787
await TestServices.StateReset.DisableResponsiveCompletion(HangMitigatingCancellationToken);
Copy link
Member

Choose a reason for hiding this comment

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

😕 I don't understand how this would make a difference. InitializeAsync is the call which disables responsive non-completion.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yea, I don't know. That's tracked by the bug I filed, just want to get this in while we are trying to figure it out

@genlu genlu enabled auto-merge November 13, 2023 22:46
@genlu genlu merged commit 1f80211 into dotnet:main Nov 14, 2023
24 checks passed
@ghost ghost added this to the Next milestone Nov 14, 2023
@genlu genlu deleted the testfix branch November 14, 2023 19:56
@RikkiGibson RikkiGibson modified the milestones: Next, 17.9 P2 Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Infrastructure untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants