Skip to content

Commit

Permalink
Increased remoting test timeout and added more logging (#299)
Browse files Browse the repository at this point in the history
  • Loading branch information
chitsaw committed Oct 23, 2023
1 parent d4420d6 commit 5386e8a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Sources/Runtime/Test.Psi/RemotingTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ private void ReceiveAndValidate(Process server)
var dataStream = importer.OpenStream<int>(ServerDataStream);
dataStream.Do(data.Add).Select(i => ++count).Where(c => c == 100).Do(_ => doneEvt.Set());
p.RunAsync();
doneEvt.WaitOne(20000);
doneEvt.WaitOne(40000);
#if !ShellExecute
server.StandardInput.WriteLine();
server.StandardInput.WriteLine(); // the test execution framework is also waiting for a line
Expand Down Expand Up @@ -134,6 +134,8 @@ private Process StartServer(string entryPoint)
server.BeginOutputReadLine();
server.BeginErrorReadLine();

Console.WriteLine($"Server {entryPoint} started");

return server;
}

Expand Down

0 comments on commit 5386e8a

Please sign in to comment.