Skip to content

Commit

Permalink
chore: Update elasticsearch and restsharp libraries to latest version…
Browse files Browse the repository at this point in the history
…s in test apps. (#2520)
  • Loading branch information
nrcventura authored May 31, 2024
1 parent 0be7ccd commit 5f5f9fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,11 @@
<PackageReference Include="Elastic.Clients.Elasticsearch" Version="8.0.0" Condition="'$(TargetFramework)' == 'net462'" />
<PackageReference Include="Elastic.Clients.Elasticsearch" Version="8.0.9" Condition="'$(TargetFramework)' == 'net471'" />
<PackageReference Include="Elastic.Clients.Elasticsearch" Version="8.0.9" Condition="'$(TargetFramework)' == 'net48'" />
<PackageReference Include="Elastic.Clients.Elasticsearch" Version="8.13.12" Condition="'$(TargetFramework)' == 'net481'" />
<PackageReference Include="Elastic.Clients.Elasticsearch" Version="8.13.15" Condition="'$(TargetFramework)' == 'net481'" />

<!-- Elastic.Clients.Elasticsearch .NET/Core references - only actually testing oldest and newest -->
<PackageReference Include="Elastic.Clients.Elasticsearch" Version="8.0.0" Condition="'$(TargetFramework)' == 'net6.0'" />
<PackageReference Include="Elastic.Clients.Elasticsearch" Version="8.13.12" Condition="'$(TargetFramework)' == 'net8.0'" />
<PackageReference Include="Elastic.Clients.Elasticsearch" Version="8.13.15" Condition="'$(TargetFramework)' == 'net8.0'" />

<!-- Serilog .NET framework references -->
<PackageReference Include="Serilog" Version="1.5.14" Condition="'$(TargetFramework)' == 'net462'" />
Expand Down Expand Up @@ -312,7 +312,7 @@
data from RestSharp usage. -->
<PackageReference Include="RestSharp" Version="107.3.0" Condition="'$(TargetFramework)' == 'net48'" />
<!-- Latest version of RestSharp to test against. Relies on HttpClient instrumentation. -->
<PackageReference Include="RestSharp" Version="110.2.0" Condition="'$(TargetFramework)' == 'net481'" />
<PackageReference Include="RestSharp" Version="111.2.0" Condition="'$(TargetFramework)' == 'net481'" />

<!-- Not testing these versions, but it simplfies the RestSharpExerciser class by not needing if directives -->
<PackageReference Include="RestSharp" Version="106.6.10" Condition="'$(TargetFramework)' == 'net6.0'" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public async Task<string> RestSharpClientTaskCancelled(string host, int port)
var options = new RestClientOptions($"http://{myHost}:{myPort}")
{
#if NET481
MaxTimeout = 1
Timeout = TimeSpan.FromMilliseconds(1)
#else
Timeout = 1
#endif
Expand Down

0 comments on commit 5f5f9fc

Please sign in to comment.