未验证 提交 8fb2eb53 编写于 作者: A Anton Firszov 提交者: GitHub

HttpStress: also disable firewall for HTTP2 (#52643)

We decided that we need to rule out the Windows Firewall as a cause for further failure types documented in #42211.
上级 610f34eb
......@@ -88,6 +88,13 @@ jobs:
name: buildStress
displayName: Build HttpStress
# Firewall is disabled for the test runs, since it can lead to unexpected TCP failures on CI machines, which are unrelated to the HTTP logic.
# See: https://github.com/dotnet/runtime/issues/50854
- powershell: |
Set-NetFirewallProfile -Profile Domain, Public, Private -Enabled False
name: disableFirewall
displayName: Disable Firewall
- powershell: |
cd '$(httpStressProject)'
$env:HTTPSTRESS_CLIENT_ARGS = "$env:HTTPSTRESS_CLIENT_ARGS -http 2.0"
......@@ -96,13 +103,6 @@ jobs:
displayName: Run HttpStress - HTTP 2.0
condition: and(eq(variables['buildRuntime.succeeded'], 'true'), eq(variables['buildStress.succeeded'], 'true'))
# Firewall is disabled for HTTP 1.1 runs.
# See: https://github.com/dotnet/runtime/issues/50854
- powershell: |
Set-NetFirewallProfile -Profile Domain, Public, Private -Enabled False
name: disableFirewall
displayName: Disable Firewall
- powershell: |
cd '$(httpStressProject)'
$env:HTTPSTRESS_CLIENT_ARGS = "$env:HTTPSTRESS_CLIENT_ARGS -http 1.1"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册