Skip to content

Commit ebdf577

Browse files
committed
Add timeout to slow GetommandRequestAsync
1 parent 4d93c18 commit ebdf577

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/PowerShellEditorServices.Test.E2E/LanguageServerProtocolMessageTests.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1060,13 +1060,13 @@ public async Task CanSendCompletionAndCompletionResolveRequestAsync()
10601060
[SkippableFact]
10611061
public async Task CanSendCompletionResolveWithModulePrefixRequestAsync()
10621062
{
1063-
Skip.If(PsesStdioLanguageServerProcessHost.IsWindowsPowerShell, "It doesn't return the documentation tooltip correctly in CI but I can't reproduce it interactively.");
1063+
Skip.If(PsesStdioLanguageServerProcessHost.IsWindowsPowerShell, "It doesn't return the documentation tooltip correctly in CI but I can't reproduce it interactively in 5.1.");
10641064
await PsesLanguageClient
10651065
.SendRequest(
10661066
"evaluate",
10671067
new EvaluateRequestArguments
10681068
{
1069-
Expression = "Import-Module Microsoft.PowerShell.Utility -Prefix Test"
1069+
Expression = "Import-Module Microsoft.PowerShell.Utility -Prefix Test -Force"
10701070
})
10711071
.ReturningVoid(CancellationToken.None);
10721072

@@ -1229,7 +1229,7 @@ await PsesLanguageClient
12291229
Assert.Equal(0, evaluateResponseBody.VariablesReference);
12301230
}
12311231

1232-
[Fact]
1232+
[Fact(Timeout = 60000)]
12331233
public async Task CanSendGetCommandRequestAsync()
12341234
{
12351235
List<object> pSCommandMessages =

0 commit comments

Comments
 (0)