Skip to content

Commit

Permalink
(#151) PowerShellCompletionTests: increase the language server waitin…
Browse files Browse the repository at this point in the history
…g timeout
  • Loading branch information
ForNeVeR committed Feb 22, 2024
1 parent 9755b6a commit 7612581
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -378,8 +378,8 @@ open class EditorServicesLanguageHostStarter(protected val myProject: Project) :
}

private suspend fun waitForSessionFile(fileWithSessionInfo: File): Boolean {
var tries = 25
val waitTimeoutMillis = 500L
var tries = 120
val waitTimeoutMillis = 500L // the total timeout is about 1 minute
try {
while (!fileWithSessionInfo.exists() && tries > 0) {
tries--
Expand Down

0 comments on commit 7612581

Please sign in to comment.