Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update elasticsearch and restsharp libraries to latest versions in test apps. #2520

Merged
merged 1 commit into from
May 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading