From acac33c21702f8d0a03f29b8e8d1f521f893a567 Mon Sep 17 00:00:00 2001 From: Qstick Date: Sun, 15 Dec 2019 18:55:14 -0500 Subject: [PATCH] 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 --- src/NzbDrone.Automation.Test/AutomationTest.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/NzbDrone.Automation.Test/AutomationTest.cs b/src/NzbDrone.Automation.Test/AutomationTest.cs index c3de80202..f58988935 100644 --- a/src/NzbDrone.Automation.Test/AutomationTest.cs +++ b/src/NzbDrone.Automation.Test/AutomationTest.cs @@ -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();