From 8be97f79f2e2dd82aac94189d315e25503503e5c Mon Sep 17 00:00:00 2001 From: Alex Hemsath Date: Wed, 4 Sep 2024 11:26:17 -0700 Subject: [PATCH 1/5] Update SQS client --- .../ContainerApplications/AwsSdkTestApp/AwsSdkTestApp.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Agent/IntegrationTests/ContainerApplications/AwsSdkTestApp/AwsSdkTestApp.csproj b/tests/Agent/IntegrationTests/ContainerApplications/AwsSdkTestApp/AwsSdkTestApp.csproj index dd33d2f22e..63966f6cad 100644 --- a/tests/Agent/IntegrationTests/ContainerApplications/AwsSdkTestApp/AwsSdkTestApp.csproj +++ b/tests/Agent/IntegrationTests/ContainerApplications/AwsSdkTestApp/AwsSdkTestApp.csproj @@ -14,7 +14,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + From 11085d3cab372000fcb0ccc2713a0d4407a1cff4 Mon Sep 17 00:00:00 2001 From: Alex Hemsath Date: Wed, 4 Sep 2024 11:34:45 -0700 Subject: [PATCH 2/5] Update Bedrock --- .../Common/MFALatestPackages/MFALatestPackages.csproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Agent/IntegrationTests/SharedApplications/Common/MFALatestPackages/MFALatestPackages.csproj b/tests/Agent/IntegrationTests/SharedApplications/Common/MFALatestPackages/MFALatestPackages.csproj index 5526da8af0..1e1b648376 100644 --- a/tests/Agent/IntegrationTests/SharedApplications/Common/MFALatestPackages/MFALatestPackages.csproj +++ b/tests/Agent/IntegrationTests/SharedApplications/Common/MFALatestPackages/MFALatestPackages.csproj @@ -5,8 +5,8 @@ - - + + From 82a6a6da125de2f99ddeb3c5741ad7ed309c940f Mon Sep 17 00:00:00 2001 From: Alex Hemsath Date: Wed, 4 Sep 2024 12:04:30 -0700 Subject: [PATCH 3/5] Update RestSharp --- .../Common/MFALatestPackages/MFALatestPackages.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Agent/IntegrationTests/SharedApplications/Common/MFALatestPackages/MFALatestPackages.csproj b/tests/Agent/IntegrationTests/SharedApplications/Common/MFALatestPackages/MFALatestPackages.csproj index 1e1b648376..67f002d227 100644 --- a/tests/Agent/IntegrationTests/SharedApplications/Common/MFALatestPackages/MFALatestPackages.csproj +++ b/tests/Agent/IntegrationTests/SharedApplications/Common/MFALatestPackages/MFALatestPackages.csproj @@ -76,7 +76,7 @@ - + From f5cecdb2d7f3b392d1525628f0934fc21be7101e Mon Sep 17 00:00:00 2001 From: Alex Hemsath Date: Wed, 4 Sep 2024 12:09:42 -0700 Subject: [PATCH 4/5] Update Microsoft.Data.SqlClient --- .../Common/MFALatestPackages/MFALatestPackages.csproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Agent/IntegrationTests/SharedApplications/Common/MFALatestPackages/MFALatestPackages.csproj b/tests/Agent/IntegrationTests/SharedApplications/Common/MFALatestPackages/MFALatestPackages.csproj index 67f002d227..4030e7399a 100644 --- a/tests/Agent/IntegrationTests/SharedApplications/Common/MFALatestPackages/MFALatestPackages.csproj +++ b/tests/Agent/IntegrationTests/SharedApplications/Common/MFALatestPackages/MFALatestPackages.csproj @@ -29,8 +29,8 @@ - - + + From 9b8692f25017bc25b52bc6556b19eaaa2f381cd1 Mon Sep 17 00:00:00 2001 From: Alex Hemsath Date: Wed, 4 Sep 2024 15:57:33 -0700 Subject: [PATCH 5/5] Fix failing test due to ai21 deprecation --- .../IntegrationTests/IntegrationTests/LLM/BedrockTests.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/Agent/IntegrationTests/IntegrationTests/LLM/BedrockTests.cs b/tests/Agent/IntegrationTests/IntegrationTests/LLM/BedrockTests.cs index f471f6bfd6..720e9033cf 100644 --- a/tests/Agent/IntegrationTests/IntegrationTests/LLM/BedrockTests.cs +++ b/tests/Agent/IntegrationTests/IntegrationTests/LLM/BedrockTests.cs @@ -22,7 +22,6 @@ public abstract class BedrockTestsBase : NewRelicIntegrationTest _bedrockModelsToTest = new List { "meta13", - "ai21", "amazonembed", "amazonexpress", "cohere", @@ -113,7 +112,7 @@ public void BedrockTest() { var expectedMetrics = new List { - new Assertions.ExpectedMetric { metricName = @"Custom/Llm/completion/Bedrock/InvokeModelAsync", CallCountAllHarvests = 5 }, + new Assertions.ExpectedMetric { metricName = @"Custom/Llm/completion/Bedrock/InvokeModelAsync", CallCountAllHarvests = _bedrockModelsToTest.Count - 1 }, new Assertions.ExpectedMetric { metricName = @"Custom/Llm/embedding/Bedrock/InvokeModelAsync", CallCountAllHarvests = 1 }, new Assertions.ExpectedMetric { metricName = @"Supportability/DotNet/ML/.*", IsRegexName = true} };