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
1 changed files with 3 additions and 1 deletions

View File

@ -36,7 +36,9 @@ namespace NzbDrone.Automation.Test
{
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();