make racey test a bit more flexible
Original commit: elastic/x-pack-elasticsearch@6d5c1110bfe58cc750da73f8295982a9d34fe13c
@@ -62,7 +62,7 @@ public class ClusterStatsTests extends MonitoringIntegTestCase {
assertTrue(Strings.hasText(clusterUUID));
// waiting for cluster stats collector to collect data
- awaitMonitoringDocsCountOnPrimary(equalTo(1L), ClusterStatsMonitoringDoc.TYPE);
+ awaitMonitoringDocsCountOnPrimary(greaterThanOrEqualTo(1L), ClusterStatsMonitoringDoc.TYPE);
refresh();
