Skip to content

Commit

Permalink
Add timeout to slow GetommandRequestAsync
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinGrote committed Dec 6, 2024
1 parent 4d93c18 commit ebdf577
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1060,13 +1060,13 @@ public async Task CanSendCompletionAndCompletionResolveRequestAsync()
[SkippableFact]
public async Task CanSendCompletionResolveWithModulePrefixRequestAsync()
{
Skip.If(PsesStdioLanguageServerProcessHost.IsWindowsPowerShell, "It doesn't return the documentation tooltip correctly in CI but I can't reproduce it interactively.");
Skip.If(PsesStdioLanguageServerProcessHost.IsWindowsPowerShell, "It doesn't return the documentation tooltip correctly in CI but I can't reproduce it interactively in 5.1.");
await PsesLanguageClient
.SendRequest(
"evaluate",
new EvaluateRequestArguments
{
Expression = "Import-Module Microsoft.PowerShell.Utility -Prefix Test"
Expression = "Import-Module Microsoft.PowerShell.Utility -Prefix Test -Force"
})
.ReturningVoid(CancellationToken.None);

Expand Down Expand Up @@ -1229,7 +1229,7 @@ await PsesLanguageClient
Assert.Equal(0, evaluateResponseBody.VariablesReference);
}

[Fact]
[Fact(Timeout = 60000)]
public async Task CanSendGetCommandRequestAsync()
{
List<object> pSCommandMessages =
Expand Down

0 comments on commit ebdf577

Please sign in to comment.