File tree Expand file tree Collapse file tree 7 files changed +14
-10
lines changed
ManagedElasticsearch/Clusters Expand file tree Collapse file tree 7 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 11using Elastic . Managed . Configuration ;
2+ using Elastic . Stack . Artifacts ;
23using Elasticsearch . Net ;
34using Tests . Configuration ;
45
@@ -10,6 +11,6 @@ public static IConnection CreateConnection(this TestConfigurationBase configurat
1011 configuration . RunIntegrationTests && ! forceInMemory ? ( IConnection ) new HttpConnection ( ) : new InMemoryConnection ( ) ;
1112
1213 public static bool InRange ( this TestConfigurationBase configuration , string range ) =>
13- ElasticsearchVersion . From ( configuration . ElasticsearchVersion ) . InRange ( range ) ;
14+ ElasticVersion . From ( configuration . ElasticsearchVersion ) . InRange ( range ) ;
1415 }
1516}
Original file line number Diff line number Diff line change 11using System . IO ;
22using Elastic . Managed . Ephemeral ;
33using Elastic . Managed . Ephemeral . Plugins ;
4+ using Elastic . Stack . Artifacts . Products ;
45using Elastic . Xunit ;
56using Nest ;
67using Tests . Configuration ;
Original file line number Diff line number Diff line change 11using Elastic . Managed . Ephemeral . Plugins ;
2+ using static Elastic . Stack . Artifacts . Products . ElasticsearchPlugin ;
23
34namespace Tests . Core . ManagedElasticsearch . Clusters
45{
@@ -7,9 +8,7 @@ namespace Tests.Core.ManagedElasticsearch.Clusters
78 /// </summary>
89 public class IntrusiveOperationCluster : ClientTestClusterBase
910 {
10- public IntrusiveOperationCluster ( ) : base ( new ClientTestClusterConfiguration (
11- ElasticsearchPlugin . IngestGeoIp , ElasticsearchPlugin . IngestAttachment
12- )
11+ public IntrusiveOperationCluster ( ) : base ( new ClientTestClusterConfiguration ( IngestGeoIp , IngestAttachment )
1312 {
1413 MaxConcurrency = 1
1514 } ) { }
Original file line number Diff line number Diff line change 11using Tests . Core . ManagedElasticsearch . NodeSeeders ;
2- using static Elastic . Managed . Ephemeral . Plugins . ElasticsearchPlugin ;
2+ using static Elastic . Stack . Artifacts . Products . ElasticsearchPlugin ;
33
44namespace Tests . Core . ManagedElasticsearch . Clusters
55{
Original file line number Diff line number Diff line change 11using System . Collections . Generic ;
22using Elastic . Managed . Configuration ;
33using Elastic . Managed . Ephemeral . Plugins ;
4+ using Elastic . Stack . Artifacts ;
5+ using Elastic . Stack . Artifacts . Products ;
46using Tests . Core . Client ;
57using Tests . Core . ManagedElasticsearch . NodeSeeders ;
6- using static Elastic . Managed . Ephemeral . Plugins . ElasticsearchPlugin ;
8+ using static Elastic . Stack . Artifacts . Products . ElasticsearchPlugin ;
79
810namespace Tests . Core . ManagedElasticsearch . Clusters
911{
@@ -28,7 +30,7 @@ private static ClientTestClusterConfiguration CreateConfiguration()
2830 } ;
2931
3032 // TODO: temporary until https://github.com/elastic/elasticsearch-net-abstractions/commit/3977ccb6449870fb4f1e6059be960e12ec5e5125 is released
31- if ( ElasticsearchVersion . From ( TestClient . Configuration . ElasticsearchVersion ) >= "6.4.0" )
33+ if ( ElasticVersion . From ( TestClient . Configuration . ElasticsearchVersion ) >= "6.4.0" )
3234 plugins . Add ( new ElasticsearchPlugin ( "analysis-nori" , v => v >= "6.4.0" ) ) ;
3335
3436 return new ClientTestClusterConfiguration ( plugins . ToArray ( ) )
Original file line number Diff line number Diff line change 11using System ;
22using Elastic . Managed . Configuration ;
3+ using Elastic . Stack . Artifacts ;
34using Tests . Configuration ;
45
56namespace Tests . Domain . Helpers
@@ -12,7 +13,7 @@ public static class TestValueHelper
1213
1314 public static string PercolatorType => InRange ( "<5.0.0-alpha1" ) ? ".percolator" : "query" ;
1415
15- private static bool InRange ( string range ) => ElasticsearchVersion . From ( TestConfiguration . Instance . ElasticsearchVersion ) . InRange ( range ) ;
16+ private static bool InRange ( string range ) => ElasticVersion . From ( TestConfiguration . Instance . ElasticsearchVersion ) . InRange ( range ) ;
1617
1718 public static object Dependant ( object builtin , object source ) => TestConfiguration . Instance . Random . SourceSerializer ? source : builtin ;
1819 }
Original file line number Diff line number Diff line change 1111 </PropertyGroup >
1212 <ItemGroup >
1313 <ProjectReference Include =" ..\Tests.Core\Tests.Core.csproj" />
14- <PackageReference Include =" System.ValueTuple" Version =" 4.4 .0" />
15- <PackageReference Include =" System.Threading.Tasks.Extensions" Version =" 4.4.0 " />
14+ <PackageReference Include =" System.ValueTuple" Version =" 4.5 .0" />
15+ <PackageReference Include =" System.Threading.Tasks.Extensions" Version =" 4.5.2 " />
1616 <PackageReference Include =" Bogus" Version =" 22.1.2" />
1717 <PackageReference Include =" Newtonsoft.Json" Version =" 12.0.1" />
1818 <PackageReference Include =" System.Diagnostics.DiagnosticSource" Version =" 4.5.1" />
You can’t perform that action at this time.
0 commit comments