don't run Autobahn tests on Win7/Server2008 (#104)

This commit is contained in:
Andrew Stanton-Nurse 2016-07-27 10:54:05 -07:00 committed by GitHub
parent 854ffadc6a
commit 935d15a15e
1 changed files with 9 additions and 9 deletions

View File

@ -51,6 +51,8 @@ namespace Microsoft.AspNetCore.WebSockets.Server.Test
await tester.DeployTestAndAddToSpec(ServerType.Kestrel, ssl: true, environment: "ManagedSockets", expectationConfig: expect => expect await tester.DeployTestAndAddToSpec(ServerType.Kestrel, ssl: true, environment: "ManagedSockets", expectationConfig: expect => expect
.NonStrict("6.4.3", "6.4.4")); // https://github.com/aspnet/WebSockets/issues/99 .NonStrict("6.4.3", "6.4.4")); // https://github.com/aspnet/WebSockets/issues/99
if (IsWindows8OrHigher())
{
if (IsIISExpress10Installed()) if (IsIISExpress10Installed())
{ {
// IIS Express tests are a bit flaky, some tests fail occasionally or get non-strict passes // IIS Express tests are a bit flaky, some tests fail occasionally or get non-strict passes
@ -60,8 +62,6 @@ namespace Microsoft.AspNetCore.WebSockets.Server.Test
.OkOrNonStrict("3.2", "3.3", "3.4", "4.1.3", "4.1.4", "4.1.5", "4.2.3", "4.2.4", "4.2.5", "5.15")); // These occasionally get non-strict results .OkOrNonStrict("3.2", "3.3", "3.4", "4.1.3", "4.1.4", "4.1.5", "4.2.3", "4.2.4", "4.2.5", "5.15")); // These occasionally get non-strict results
} }
if (IsWindows8OrHigher())
{
await tester.DeployTestAndAddToSpec(ServerType.WebListener, ssl: false, environment: "ManagedSockets", expectationConfig: expect => expect await tester.DeployTestAndAddToSpec(ServerType.WebListener, ssl: false, environment: "ManagedSockets", expectationConfig: expect => expect
.Fail("6.1.2", "6.1.3") // https://github.com/aspnet/WebSockets/issues/97 .Fail("6.1.2", "6.1.3") // https://github.com/aspnet/WebSockets/issues/97
.NonStrict("6.4.3", "6.4.4")); // https://github.com/aspnet/WebSockets/issues/99 .NonStrict("6.4.3", "6.4.4")); // https://github.com/aspnet/WebSockets/issues/99