Currently, ProcessRunner.RunAsync() creates a task which calls the synchronous Run method in the agent. TestAgentRunner.RunAsync, which is used in the agents does the same thing in calling the driver.
We discussed this problem in issue #1187 and decided we should be using asynchronous runs "all the way down" if RunAsync is used at the top level.
Currently,
ProcessRunner.RunAsync()creates a task which calls the synchronousRunmethod in the agent.TestAgentRunner.RunAsync, which is used in the agents does the same thing in calling the driver.We discussed this problem in issue #1187 and decided we should be using asynchronous runs "all the way down" if
RunAsyncis used at the top level.