Пример #1
0
        public void DataTransfer_Ramp_10x30sec()
        {
            var timeLimit = TimeSpan.FromSeconds(29);

            var fac = SerilogHelper.GetLoggerFactory();

            using (var device = DeviceHelper.GetFirstSuitableDevice(fac))
            {
                for (var i = 0; i < 10; ++i)
                {
                    _logger.LogInformation($"Started iteration {i}");
                    DataTransferTestHelper.RunRampTest(device, timeLimit, _logger);
                    System.Threading.Thread.Sleep(1000);
                }
            }
        }
Пример #2
0
        public void DataTransfer_Ramp_10s()
        {
            var time = TimeSpan.FromSeconds(10);

            DataTransferTestHelper.RunRampTest(_device, time, _logger);
        }
Пример #3
0
        public void DataTransfer_Ramp_Smoke_1s()
        {
            var timeLimit = TimeSpan.FromSeconds(1);

            DataTransferTestHelper.RunRampTest(_device, timeLimit, _logger);
        }
 public void DataTransfer_Ramp_60s()
 {
     DataTransferTestHelper.RunRampTest(_device, TimeSpan.FromSeconds(60), _logger);
 }