예제 #1
0
        public async Task ExecuteTestCaseAsync()
        {
            _lastRunProcess = _serverProcess.Value;
            await _connection.Value.EnsureConnected();

            await _testCase.ExecuteAsync(_connection.Value, _logger.Value, _commandRunner);
        }
예제 #2
0
 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));
     }
 }
예제 #3
0
 public int Exec(string command, string args = null)
 {
     using (var process = _configuration.SpawnCliProcess(command, args))
     {
         LastRunProcess = process;
         return(process.WaitForExit(DefaultExecTimeout));
     }
 }
예제 #4
0
 void ForceStartup()
 {
     _lastRunProcess = _serverProcess.Value;
 }