Skip to content

Commit 33e350e

Browse files
add file length check as well
1 parent be10c36 commit 33e350e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/PowerShellEditorServices.Test.Host/ServerTestsBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ protected async Task<Tuple<int, int>> LaunchService(
102102
this.serviceProcess.Start();
103103

104104
// Wait for the server to finish initializing
105-
while(!File.Exists(sessionPath))
105+
while(!File.Exists(sessionPath) && new FileInfo(assemblyPath).Length > 0)
106106
{
107107
Thread.Sleep(100);
108108
}

0 commit comments

Comments
 (0)