1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00

New: Change Automation timeout to 3min (#3951)

* New: Change Automation timeout to 3min

* Fixed: Workaround netcore/selenium HTTP bug

* try without timespan override

* Update AutomationTest.cs
This commit is contained in:
Qstick 2019-12-15 18:55:14 -05:00 committed by GitHub
parent 5d7804478b
commit acac33c217
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,9 @@ public void SmokeTestSetup()
{
var options = new FirefoxOptions();
options.AddArguments("--headless");
driver = new FirefoxDriver(options);
FirefoxDriverService service = FirefoxDriverService.CreateDefaultService();
// service.Host = "::1"; // Workaround netcore/selenium bug https://github.com/SeleniumHQ/selenium/issues/7840
driver = new FirefoxDriver(service, options, new System.TimeSpan(0,3,0));
_runner = new NzbDroneRunner(LogManager.GetCurrentClassLogger());
_runner.KillAll();