-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Update agent tests to test .NET 9 and remove testing on .NET 6 (#…
…2882) * test: Update tests for dotnet 9. * Fixing merge errors * Temporarily disabling ServicePointManager usage * Setup .NET 9 in GHA * Rerun GHA * Trying alternate SDK format * Trying alternate workaround for RC bug * More test fixes * More image updates * Added .NET 9 as a supported version * Messed up YML syntax * Forcing GHA rerun * Mark .NET 6 as (nearly) unsupported in the Agent * Missed some "oldest"/"latest" updates * More fixes for making .NET 8 the "oldest" * Fixed version conflict * A couple more version mismatches * Missed one net6.0 tfm * Fix integration test failures * Fix some ContainerIntegrationTests Note that the distro tags for Ubuntu and Debian were accidentally switched before. "bookworm" is Debian; "jammy" was Ubuntu 22.04 but .NET 9 isn't available (yet?) on that so use "noble" (24.04) instead. * Remove net6.0 from KafkaTestApp * More fixes and cleanup * Removed .NET 6 targets from Lambda tests * AzureFunctionsApp won't work with .NET 9 yet * Remove System.Data.SqlClient testing completely It's not working in .NET 8 due to reflection issues, it's not supported at all in .NET 9, it's obsolete in .NET 8, bye felicia * Update tests/Agent/IntegrationTests/ContainerIntegrationTests/Tests/MemcachedTests.cs More generic description of memcached library version Co-authored-by: Marty T <[email protected]> * Update tests/Agent/IntegrationTests/ContainerIntegrationTests/Tests/MemcachedTests.cs Same Co-authored-by: Marty T <[email protected]> * Update custom container image build doc * Add back multiple version testing of Azure Functions * Make future .NET version releases require less find-and-replace for the Lambda tests * Remove System.Data.SqlClient from Dotty * Temporarily disable Centos smoke test * Fix version regression --------- Co-authored-by: Chris Ventura <[email protected]> Co-authored-by: chynesNR <[email protected]> Co-authored-by: Marty T <[email protected]>
- Loading branch information
1 parent
b6bdad9
commit 5a183e7
Showing
132 changed files
with
686 additions
and
968 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,27 @@ | ||
<Project> | ||
<Import Project="$(MSBuildThisFileDirectory)\build\Versioning.targets" Condition="Exists('$(MSBuildThisFileDirectory)\build\Versioning.targets')" /> | ||
<!-- BEGIN workaround for https://github.com/dotnet/sdk/issues/43339; remove after updated to VS 17.12 or a future 17.11 patch --> | ||
<Target Name="WorkaroundDotnetSdk43339" BeforeTargets="ResolvePackageAssets" Condition=" '$(MSBuildRuntimeType)' == 'Full' and $([MSBuild]::VersionLessThan($(MSBuildVersion), 17.12.0))"> | ||
<PrimeSystemTextJson804 /> | ||
</Target> | ||
<UsingTask | ||
TaskName="PrimeSystemTextJson804" | ||
TaskFactory="RoslynCodeTaskFactory" | ||
AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.Core.dll" > | ||
<Task> | ||
<Code Type="Fragment" Language="cs"> | ||
<![CDATA[ | ||
try | ||
{ | ||
System.Reflection.Assembly.LoadFrom(@"$(MicrosoftNETBuildTasksDirectoryRoot)\..\..\..\DotnetTools\dotnet-format\BuildHost-net472\System.Text.Json.dll"); | ||
} | ||
catch | ||
{ | ||
// Best effort: if something moves in the SDK don't break the build. | ||
} | ||
]]> | ||
</Code> | ||
</Task> | ||
</UsingTask> | ||
<!-- END workaround for https://github.com/dotnet/sdk/issues/43339 --> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...sts/Applications/AspNetCoreBasicWebApiApplication/AspNetCoreBasicWebApiApplication.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...sts/Applications/AspNetCoreDistTracingApplication/AspNetCoreDistTracingApplication.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
tests/Agent/IntegrationTests/Applications/AspNetCoreFeatures/AspNetCoreFeatures.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...tionTests/Applications/AspNetCoreMvcAsyncApplication/AspNetCoreMvcAsyncApplication.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ations/AspNetCoreMvcBasicRequestsApplication/AspNetCoreMvcBasicRequestsApplication.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...tionTests/Applications/AspNetCoreMvcRejitApplication/AspNetCoreMvcRejitApplication.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...tCoreWebApiCustomAttributesApplication/AspNetCoreWebApiCustomAttributesApplication.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...Tests/Applications/BasicAspNetCoreRazorApplication/BasicAspNetCoreRazorApplication.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.