File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed 
server/src/test/java/org/elasticsearch/transport Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -97,13 +97,11 @@ public void testProxyDefault() {
9797    }
9898
9999    public  void  testSkipUnavailableAlwaysTrueIfStatelessEnabled () {
100-         final  String  alias  = randomAlphaOfLength (8 );
100+         final  var  alias  = randomAlphaOfLength (8 );
101101        final  var  skipUnavailableSetting  = REMOTE_CLUSTER_SKIP_UNAVAILABLE .getConcreteSettingForNamespace (alias );
102102        final  var  modeSetting  = RemoteConnectionStrategy .REMOTE_CONNECTION_MODE .getConcreteSettingForNamespace (alias );
103103        final  var  proxyAddressSetting  = ProxyConnectionStrategy .PROXY_ADDRESS .getConcreteSettingForNamespace (alias );
104- 
105104        final  var  statelessEnabledSettings  = Settings .builder ().put (DiscoveryNode .STATELESS_ENABLED_SETTING_NAME , true ).build ();
106-         assertTrue (skipUnavailableSetting .get (statelessEnabledSettings ));
107105        final  var  proxyEnabledSettings  = Settings .builder ()
108106            .put (modeSetting .getKey (), RemoteConnectionStrategy .ConnectionStrategy .PROXY .toString ())
109107            .put (proxyAddressSetting .getKey (), "localhost:9400" )
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments