@Override
    public void available() {
        if (!allocationExcludeChecked) {
            this.checkAllocationEnabledStatus();
        }
    }
@Test
    public void testResetAllocationUnneccessary() throws IOException {
        Settings settings = Settings.builder()
                .put(OpensearchProcessImpl.CLUSTER_ROUTING_ALLOCATION_EXCLUDE_SETTING, "notmynodename")
                .build();
        when(clusterClient.getSettings(any(), any())).thenReturn(new ClusterGetSettingsResponse(null, settings, null));
        opensearchProcess.available();
        verify(clusterClient).getSettings(any(), any());
        verifyNoMoreInteractions(clusterClient);
        assertTrue(opensearchProcess.allocationExcludeChecked);
    }