public async Task ExecuteTestCaseAsync() { _lastRunProcess = _serverProcess.Value; await _connection.Value.EnsureConnected(); await _testCase.ExecuteAsync(_connection.Value, _logger.Value, _commandRunner); }
public int Exec(string command, string args = null, bool disconnected = false) { using (var process = _configuration.SpawnCliProcess(command, args, skipServerArg: disconnected)) { LastRunProcess = process; return(process.WaitForExit(DefaultExecTimeout)); } }
public int Exec(string command, string args = null) { using (var process = _configuration.SpawnCliProcess(command, args)) { LastRunProcess = process; return(process.WaitForExit(DefaultExecTimeout)); } }
void ForceStartup() { _lastRunProcess = _serverProcess.Value; }