File tree 3 files changed +19
-4
lines changed
Hosting/Server.IntegrationTesting/src/Deployers
Middleware/CORS/test/FunctionalTests
3 files changed +19
-4
lines changed Original file line number Diff line number Diff line change 1
- // Copyright (c) .NET Foundation. All rights reserved.
1
+ // Copyright (c) .NET Foundation. All rights reserved.
2
2
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3
3
4
4
using System ;
@@ -131,6 +131,12 @@ public override async Task<DeploymentResult> DeployAsync()
131
131
WorkingDirectory = workingDirectory
132
132
} ;
133
133
134
+ Logger . LogInformation ( $ "Working directory { workingDirectory } ") ;
135
+ Logger . LogInformation ( $ "{ Directory . Exists ( workingDirectory ) } ") ;
136
+ Logger . LogInformation ( $ "Filename { executableName } ") ;
137
+ Logger . LogInformation ( $ "{ File . Exists ( executableName ) } ") ;
138
+ Logger . LogInformation ( $ "Arguments { executableArgs } ") ;
139
+
134
140
AddEnvironmentVariablesToProcess ( startInfo , DeploymentParameters . EnvironmentVariables ) ;
135
141
136
142
Uri actualUrl = null ;
Original file line number Diff line number Diff line change 1
- <Project Sdk =" Microsoft.NET.Sdk" >
1
+ <Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
4
<TargetFramework >netcoreapp3.0</TargetFramework >
16
16
<ItemGroup >
17
17
<!-- We don't need anything in this assembly, we just want to make sure it's built -->
18
18
<ProjectReference Include =" $(RepoRoot)src\Hosting\Server.IntegrationTesting\src\Microsoft.AspNetCore.Server.IntegrationTesting.csproj" />
19
+ <ProjectReference Include =" ..\testassets\TestOrigin\TestOrigin.csproj" >
20
+ <ReferenceOutputAssembly >False</ReferenceOutputAssembly >
21
+ </ProjectReference >
22
+ <ProjectReference Include =" ..\testassets\TestDestination\TestDestination.csproj" >
23
+ <ReferenceOutputAssembly >False</ReferenceOutputAssembly >
24
+ </ProjectReference >
25
+ <ProjectReference Include =" ..\testassets\CorsMiddlewareWebSite\CorsMiddlewareWebSite.csproj" >
26
+ <ReferenceOutputAssembly >False</ReferenceOutputAssembly >
27
+ </ProjectReference >
19
28
</ItemGroup >
20
29
21
30
<ItemGroup >
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ public CorsMiddlewareFunctionalTests(ITestOutputHelper output)
28
28
29
29
public ITestOutputHelper Output { get ; }
30
30
31
- [ ConditionalTheory ( Skip = "https://github.com/aspnet/AspNetCore/issues/11354" ) ]
31
+ [ ConditionalTheory ]
32
32
[ OSSkipCondition ( OperatingSystems . MacOSX , SkipReason = "Disabling this test on OSX until we have a resolution for https://github.com/aspnet/AspNetCore-Internal/issues/1619" ) ]
33
33
[ InlineData ( "Startup" ) ]
34
34
[ InlineData ( "StartupWithoutEndpointRouting" ) ]
@@ -98,7 +98,7 @@ private static async Task<CorsDeploymentResult> CreateDeployments(ILoggerFactory
98
98
var originDeployment = await originFactory . DeployAsync ( ) ;
99
99
100
100
var secondOriginFactory = ApplicationDeployerFactory . Create ( originParameters , loggerFactory ) ;
101
- var secondOriginDeployment = await originFactory . DeployAsync ( ) ;
101
+ var secondOriginDeployment = await secondOriginFactory . DeployAsync ( ) ;
102
102
103
103
var port = originDeployment . HttpClient . BaseAddress . Port ;
104
104
var destinationParameters = new DeploymentParameters
You can’t perform that action at this time.
0 commit comments