public void RestartServerWithUpdatedSettings(IDictionary <string, string> keyValuePair) { try { _installer.StopServer(); _installer.UpdateSettings(keyValuePair); _installer.StartServer(); } catch { try { Dispose(); } catch { /*Do nothing*/ } throw; } }
public static void GlobalAfterTestRun() { DisposeDriver(); try { Installer.StopServer(); } catch { // ignored } Installer.UninstallServer(); }