parent
233df6b73b
commit
9e32e36799
|
@ -105,7 +105,6 @@ public class DataFrameGetAndGetStatsIT extends DataFrameRestTestCase {
|
||||||
assertEquals(1, XContentMapValues.extractValue("count", transforms));
|
assertEquals(1, XContentMapValues.extractValue("count", transforms));
|
||||||
}
|
}
|
||||||
|
|
||||||
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/40963")
|
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
public void testGetPersistedStatsWithoutTask() throws Exception {
|
public void testGetPersistedStatsWithoutTask() throws Exception {
|
||||||
createPivotReviewsTransform("pivot_stats_1", "pivot_reviews_stats_1", null);
|
createPivotReviewsTransform("pivot_stats_1", "pivot_reviews_stats_1", null);
|
||||||
|
@ -131,7 +130,6 @@ public class DataFrameGetAndGetStatsIT extends DataFrameRestTestCase {
|
||||||
for (Map<String, Object> transformStats : transformsStats) {
|
for (Map<String, Object> transformStats : transformsStats) {
|
||||||
Map<String, Object> stat = (Map<String, Object>)transformStats.get("stats");
|
Map<String, Object> stat = (Map<String, Object>)transformStats.get("stats");
|
||||||
assertThat(((Integer)stat.get("documents_processed")), greaterThan(0));
|
assertThat(((Integer)stat.get("documents_processed")), greaterThan(0));
|
||||||
assertThat(((Integer)stat.get("search_time_in_ms")), greaterThan(0));
|
|
||||||
assertThat(((Integer)stat.get("search_total")), greaterThan(0));
|
assertThat(((Integer)stat.get("search_total")), greaterThan(0));
|
||||||
assertThat(((Integer)stat.get("pages_processed")), greaterThan(0));
|
assertThat(((Integer)stat.get("pages_processed")), greaterThan(0));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue