Skip to content

Commit

Permalink
Set dotnet E2E nuget test target for dotnet sdk v1.3.2 (#310)
Browse files Browse the repository at this point in the history
*Description of changes:*
Set current .NET SDK release for .NET E2E Nuget instead of the latest
version because the new ADOT .NET SDK release will introduce breaking
changes. This will fix the current Nuget E2E failure.
  • Loading branch information
AsakerMohd authored Nov 2, 2024
1 parent 51ae3cb commit f6bc748
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terraform/dotnet/ec2/nuget/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ resource "null_resource" "main_service_setup" {
export OTEL_RESOURCE_ATTRIBUTES=service.name=dotnet-sample-application-${var.test_id}
cd ./asp_frontend_service
dotnet add package AWS.Distro.OpenTelemetry.AutoInstrumentation --prerelease
dotnet add package AWS.Distro.OpenTelemetry.AutoInstrumentation --version 1.3.2
dotnet build --runtime linux-x64
dos2unix bin/Debug/netcoreapp8.0/linux-x64/adot-launch.sh
nohup sh bin/Debug/netcoreapp8.0/linux-x64/adot-launch.sh dotnet bin/Debug/netcoreapp8.0/linux-x64/asp_frontend_service.dll &
Expand Down Expand Up @@ -226,7 +226,7 @@ resource "null_resource" "remote_service_setup" {
export OTEL_RESOURCE_ATTRIBUTES=service.name=dotnet-sample-remote-application-${var.test_id}
export ASPNETCORE_URLS=http://0.0.0.0:8081
dotnet add package AWS.Distro.OpenTelemetry.AutoInstrumentation --prerelease
dotnet add package AWS.Distro.OpenTelemetry.AutoInstrumentation --version 1.3.2
dotnet build --runtime linux-x64
dos2unix bin/Debug/netcoreapp8.0/linux-x64/adot-launch.sh
nohup sh bin/Debug/netcoreapp8.0/linux-x64/adot-launch.sh dotnet bin/Debug/netcoreapp8.0/linux-x64/asp_remote_service.dll &
Expand Down

0 comments on commit f6bc748

Please sign in to comment.