Skip to content

Commit

Permalink
[ML] fixing test related to elastic#40963 (elastic#41074)
Browse files Browse the repository at this point in the history
  • Loading branch information
benwtrent authored and Gurkan Kaymak committed May 27, 2019
1 parent 24fc1da commit 2fb7cd2
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ public void testGetAndGetStats() throws Exception {
assertEquals(1, XContentMapValues.extractValue("count", transforms));
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/40963")
@SuppressWarnings("unchecked")
public void testGetPersistedStatsWithoutTask() throws Exception {
createPivotReviewsTransform("pivot_stats_1", "pivot_reviews_stats_1", null);
Expand All @@ -131,7 +130,6 @@ public void testGetPersistedStatsWithoutTask() throws Exception {
for (Map<String, Object> transformStats : transformsStats) {
Map<String, Object> stat = (Map<String, Object>)transformStats.get("stats");
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("pages_processed")), greaterThan(0));
}
Expand Down

0 comments on commit 2fb7cd2

Please sign in to comment.