Skip to content

Commit 7e9a237

Browse files
committed
[dotnet] ignore the proxy tests which are hanging
1 parent a9c3770 commit 7e9a237

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

dotnet/test/common/ProxySettingTest.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ public void QuitAdditionalDriver()
4646
}
4747

4848
[Test]
49+
[IgnoreBrowser(Browser.Chrome, "ChromeDriver is hanging")]
4950
[IgnoreBrowser(Browser.Safari, "SafariDriver does not support setting proxy")]
5051
[IgnoreBrowser(Browser.EdgeLegacy, "EdgeDriver does not support setting proxy")]
5152
public void CanConfigureManualHttpProxy()
@@ -59,14 +60,15 @@ public void CanConfigureManualHttpProxy()
5960
}
6061

6162
[Test]
63+
[IgnoreBrowser(Browser.Chrome, "ChromeDriver is hanging")]
6264
[IgnoreBrowser(Browser.Safari, "SafariDriver does not support setting proxy")]
6365
[IgnoreBrowser(Browser.EdgeLegacy, "EdgeDriver does not support setting proxy")]
6466
public void CanConfigureNoProxy()
6567
{
6668
proxyServer.EnableLogResourcesOnResponse();
6769
Proxy proxyToUse = proxyServer.AsProxy();
6870
proxyToUse.AddBypassAddresses(EnvironmentManager.Instance.UrlBuilder.HostName);
69-
71+
7072
if (TestUtilities.IsInternetExplorer(driver))
7173
{
7274
proxyToUse.AddBypassAddress("<-localhost>");
@@ -82,6 +84,7 @@ public void CanConfigureNoProxy()
8284
}
8385

8486
[Test]
87+
[IgnoreBrowser(Browser.Chrome, "ChromeDriver is hanging")]
8588
[IgnoreBrowser(Browser.Safari, "SafariDriver does not support setting proxy")]
8689
[IgnoreBrowser(Browser.EdgeLegacy, "EdgeDriver does not support setting proxy")]
8790
public void CanConfigureProxyThroughAutoConfigFile()
@@ -104,6 +107,7 @@ public void CanConfigureProxyThroughAutoConfigFile()
104107
}
105108

106109
[Test]
110+
[IgnoreBrowser(Browser.Chrome, "ChromeDriver is hanging")]
107111
[IgnoreBrowser(Browser.Safari, "SafariDriver does not support setting proxy")]
108112
[IgnoreBrowser(Browser.EdgeLegacy, "EdgeDriver does not support setting proxy")]
109113
public void CanUseAutoConfigFileThatOnlyProxiesCertainHosts()
@@ -373,7 +377,7 @@ private void OverwriteRequestedContent(ProcessingContext context)
373377
responseHeader.EntityHeaders.ContentEncoding = "utf-8";
374378
responseHeader.EntityHeaders.ContentLength = responseStream.Length;
375379
new HttpResponseWriter(context.ClientStream).Write(responseHeader, responseStream, responseStream.Length);
376-
}
380+
}
377381
}
378382
}
379383
}

0 commit comments

Comments
 (0)