Skip to content

Commit f6bc748

Browse files
authored
Set dotnet E2E nuget test target for dotnet sdk v1.3.2 (#310)
*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.
1 parent 51ae3cb commit f6bc748

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

terraform/dotnet/ec2/nuget/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ resource "null_resource" "main_service_setup" {
137137
export OTEL_RESOURCE_ATTRIBUTES=service.name=dotnet-sample-application-${var.test_id}
138138
139139
cd ./asp_frontend_service
140-
dotnet add package AWS.Distro.OpenTelemetry.AutoInstrumentation --prerelease
140+
dotnet add package AWS.Distro.OpenTelemetry.AutoInstrumentation --version 1.3.2
141141
dotnet build --runtime linux-x64
142142
dos2unix bin/Debug/netcoreapp8.0/linux-x64/adot-launch.sh
143143
nohup sh bin/Debug/netcoreapp8.0/linux-x64/adot-launch.sh dotnet bin/Debug/netcoreapp8.0/linux-x64/asp_frontend_service.dll &
@@ -226,7 +226,7 @@ resource "null_resource" "remote_service_setup" {
226226
export OTEL_RESOURCE_ATTRIBUTES=service.name=dotnet-sample-remote-application-${var.test_id}
227227
export ASPNETCORE_URLS=http://0.0.0.0:8081
228228
229-
dotnet add package AWS.Distro.OpenTelemetry.AutoInstrumentation --prerelease
229+
dotnet add package AWS.Distro.OpenTelemetry.AutoInstrumentation --version 1.3.2
230230
dotnet build --runtime linux-x64
231231
dos2unix bin/Debug/netcoreapp8.0/linux-x64/adot-launch.sh
232232
nohup sh bin/Debug/netcoreapp8.0/linux-x64/adot-launch.sh dotnet bin/Debug/netcoreapp8.0/linux-x64/asp_remote_service.dll &

0 commit comments

Comments
 (0)