Browse Source

Unrevert else clause in TestMatrix

Chris Ross 6 years ago
parent
commit
8aaf577742
1 changed files with 10 additions and 8 deletions
  1. 10 8
      src/Hosting/Server.IntegrationTesting/src/TestMatrix.cs

+ 10 - 8
src/Hosting/Server.IntegrationTesting/src/TestMatrix.cs

@@ -237,15 +237,17 @@ namespace Microsoft.AspNetCore.Server.IntegrationTesting
                 {
                     VaryByAncmHostingModel(variants, server, tfm, type, arch, archSkip);
                 }
-
-                variants.Add(new TestVariant()
+                else
                 {
-                    Server = server,
-                    Tfm = tfm,
-                    ApplicationType = type,
-                    Architecture = arch,
-                    Skip = archSkip,
-                });
+                    variants.Add(new TestVariant()
+                    {
+                        Server = server,
+                        Tfm = tfm,
+                        ApplicationType = type,
+                        Architecture = arch,
+                        Skip = archSkip,
+                    });
+                }
             }
         }