From 2564e918b6dbaba3a2857da63b098f69a0f361b8 Mon Sep 17 00:00:00 2001
From: Chris Ventura <45495992+nrcventura@users.noreply.github.com>
Date: Fri, 31 May 2024 12:15:20 -1000
Subject: [PATCH] chore: Update elasticsearch and restsharp libraries to latest
versions in test apps.
---
.../MultiFunctionApplicationHelpers.csproj | 6 +++---
.../RestSharp/RestSharp107andBeyondExerciser.cs | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/Agent/IntegrationTests/SharedApplications/Common/MultiFunctionApplicationHelpers/MultiFunctionApplicationHelpers.csproj b/tests/Agent/IntegrationTests/SharedApplications/Common/MultiFunctionApplicationHelpers/MultiFunctionApplicationHelpers.csproj
index f20870812e..8b2a2960ed 100644
--- a/tests/Agent/IntegrationTests/SharedApplications/Common/MultiFunctionApplicationHelpers/MultiFunctionApplicationHelpers.csproj
+++ b/tests/Agent/IntegrationTests/SharedApplications/Common/MultiFunctionApplicationHelpers/MultiFunctionApplicationHelpers.csproj
@@ -132,11 +132,11 @@
-
+
-
+
@@ -312,7 +312,7 @@
data from RestSharp usage. -->
-
+
diff --git a/tests/Agent/IntegrationTests/SharedApplications/Common/MultiFunctionApplicationHelpers/NetStandardLibraries/RestSharp/RestSharp107andBeyondExerciser.cs b/tests/Agent/IntegrationTests/SharedApplications/Common/MultiFunctionApplicationHelpers/NetStandardLibraries/RestSharp/RestSharp107andBeyondExerciser.cs
index 092e1217f4..6b6c58f8cb 100644
--- a/tests/Agent/IntegrationTests/SharedApplications/Common/MultiFunctionApplicationHelpers/NetStandardLibraries/RestSharp/RestSharp107andBeyondExerciser.cs
+++ b/tests/Agent/IntegrationTests/SharedApplications/Common/MultiFunctionApplicationHelpers/NetStandardLibraries/RestSharp/RestSharp107andBeyondExerciser.cs
@@ -180,7 +180,7 @@ public async Task RestSharpClientTaskCancelled(string host, int port)
var options = new RestClientOptions($"http://{myHost}:{myPort}")
{
#if NET481
- MaxTimeout = 1
+ Timeout = TimeSpan.FromMilliseconds(1)
#else
Timeout = 1
#endif