Unskipped Nano server's standalone tests

This commit is contained in:
Kiran Challa 2017-04-21 12:15:19 -07:00
parent e606844509
commit 7dff704c34
2 changed files with 7 additions and 11 deletions

View File

@ -1,10 +1,9 @@
using Microsoft.AspNetCore.Server.IntegrationTesting; using System.Collections.Generic;
using Microsoft.AspNetCore.Server.IntegrationTesting.xunit;
using Microsoft.AspNetCore.Testing.xunit;
using Microsoft.DotNet.PlatformAbstractions;
using System.Collections.Generic;
using System.IO; using System.IO;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNetCore.Server.IntegrationTesting;
using Microsoft.AspNetCore.Server.IntegrationTesting.xunit;
using Microsoft.AspNetCore.Testing.xunit;
using Xunit; using Xunit;
using Xunit.Abstractions; using Xunit.Abstractions;

View File

@ -29,12 +29,9 @@ namespace E2ETests
[OSSkipCondition(OperatingSystems.Linux)] [OSSkipCondition(OperatingSystems.Linux)]
[OSSkipCondition(OperatingSystems.MacOSX)] [OSSkipCondition(OperatingSystems.MacOSX)]
[SkipIfEnvironmentVariableNotEnabled("RUN_TESTS_ON_NANO")] [SkipIfEnvironmentVariableNotEnabled("RUN_TESTS_ON_NANO")]
[InlineData(ServerType.Kestrel, 5000, ApplicationType.Standalone, [InlineData(ServerType.Kestrel, 5000, ApplicationType.Standalone)]
Skip = "https://github.com/aspnet/MusicStore/issues/761")] [InlineData(ServerType.WebListener, 5000, ApplicationType.Standalone)]
[InlineData(ServerType.WebListener, 5000, ApplicationType.Standalone, [InlineData(ServerType.IIS, 8080, ApplicationType.Standalone)]
Skip = "https://github.com/aspnet/MusicStore/issues/761")]
[InlineData(ServerType.IIS, 8080, ApplicationType.Standalone,
Skip = "https://github.com/aspnet/MusicStore/issues/761")]
public async Task Test(ServerType serverType, int portToListen, ApplicationType applicationType) public async Task Test(ServerType serverType, int portToListen, ApplicationType applicationType)
{ {
var applicationBaseUrl = $"http://{_remoteDeploymentConfig.ServerName}:{portToListen}/"; var applicationBaseUrl = $"http://{_remoteDeploymentConfig.ServerName}:{portToListen}/";