File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
x-pack/plugin/ccr/src/test/java/org/elasticsearch/xpack/ccr Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 23
23
import static java .util .Collections .singletonMap ;
24
24
import static org .elasticsearch .test .hamcrest .ElasticsearchAssertions .assertAcked ;
25
25
import static org .hamcrest .Matchers .equalTo ;
26
+ import static org .hamcrest .Matchers .greaterThanOrEqualTo ;
26
27
27
28
public class RestartIndexFollowingIT extends CcrIntegTestCase {
28
29
@@ -98,7 +99,7 @@ private void setupRemoteCluster() throws Exception {
98
99
List <RemoteConnectionInfo > infos =
99
100
followerClient ().execute (RemoteInfoAction .INSTANCE , new RemoteInfoRequest ()).get ().getInfos ();
100
101
assertThat (infos .size (), equalTo (1 ));
101
- assertThat (infos .get (0 ).getNumNodesConnected (), equalTo (1 ));
102
+ assertThat (infos .get (0 ).getNumNodesConnected (), greaterThanOrEqualTo (1 ));
102
103
});
103
104
}
104
105
You can’t perform that action at this time.
0 commit comments