| 12345678910111213141516171819202122232425262728293031323334353637 |
- commit d987b48672012a649866e48c4f466a0bf046e2ec
- Author: Justin Kotalik <[email protected]>
- Date: Fri Mar 9 12:30:08 2018 -0800
- Expect websockets to be disabled on Win7. (#649)
- diff --git a/test/IISIntegration.FunctionalTests/UpgradeFeatureDetectionTests.cs b/test/IISIntegration.FunctionalTests/UpgradeFeatureDetectionTests.cs
- index 6ade4dc4f13..cf3f2434134 100644
- --- a/test/IISIntegration.FunctionalTests/UpgradeFeatureDetectionTests.cs
- +++ b/test/IISIntegration.FunctionalTests/UpgradeFeatureDetectionTests.cs
- @@ -16,6 +16,8 @@ namespace Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests
- {
- public class UpgradeFeatureDetectionTests : LoggedTest
- {
- + private string _isWebsocketsSupported = Environment.OSVersion.Version >= new Version(6, 2) ? "Enabled" : "Disabled";
- +
- public UpgradeFeatureDetectionTests(ITestOutputHelper output) : base(output)
- {
- }
- @@ -37,7 +39,7 @@ namespace Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests
- ApplicationType.Portable,
- "AppHostConfig/Http.config",
- Helpers.GetInProcessTestSitesPath(),
- - "Enabled");
- + _isWebsocketsSupported);
- }
-
- [Fact]
- @@ -57,7 +59,7 @@ namespace Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests
- ApplicationType.Portable,
- "AppHostConfig/Http.config",
- Helpers.GetOutOfProcessTestSitesPath(),
- - "Enabled");
- + _isWebsocketsSupported);
- }
-
- private async Task UpgradeFeatureDetectionDeployer(RuntimeFlavor runtimeFlavor,
|