66using Tests . Framework . Integration ;
77using Tests . Framework . ManagedElasticsearch . Clusters ;
88using Tests . Framework . MockData ;
9- using Xunit ;
10- using M = System . Collections . Generic . Dictionary < string , object > ;
119using static Nest . Infer ;
1210
1311namespace Tests . Cluster . RemoteInfo
@@ -18,14 +16,14 @@ protected override void IntegrationSetup(IElasticClient client, CallUniqueValues
1816 {
1917 var enableRemoteClusters = client . ClusterPutSettings ( new ClusterPutSettingsRequest
2018 {
21- Transient = new M
19+ Transient = new Dictionary < string , object >
2220 {
23- { "search" , new M {
24- { "remote" , new M {
25- { "cluster_one" , new M {
21+ { "search" , new Dictionary < string , object > {
22+ { "remote" , new Dictionary < string , object > {
23+ { "cluster_one" , new Dictionary < string , object > {
2624 { "seeds" , new [ ] { "127.0.0.1:9300" , "127.0.0.1:9301" } }
2725 } } ,
28- { "cluster_two" , new M {
26+ { "cluster_two" , new Dictionary < string , object > {
2927 { "seeds" , new [ ] { "127.0.0.1:9300" } }
3028 } }
3129 } }
@@ -39,9 +37,7 @@ protected override void IntegrationSetup(IElasticClient client, CallUniqueValues
3937 remoteSearch . IsValid . Should ( ) . BeTrue ( remoteSearch . DebugInformation ) ;
4038 }
4139
42- public RemoteInfoApiTests ( ReadOnlyCluster cluster , EndpointUsage usage ) : base ( cluster , usage )
43- {
44- }
40+ public RemoteInfoApiTests ( ReadOnlyCluster cluster , EndpointUsage usage ) : base ( cluster , usage ) { }
4541
4642 protected override LazyResponses ClientUsage ( ) => Calls (
4743 fluent : ( client , f ) => client . RemoteInfo ( ) ,
0 commit comments