Skip to content

Commit 505bfb6

Browse files
Fix MlBasicMultiNodeIT
1 parent 51342c3 commit 505bfb6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

x-pack/qa/ml-basic-multi-node/src/test/java/org/elasticsearch/xpack/ml/integration/MlBasicMultiNodeIT.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ public void testMiniFarequoteReopen() throws Exception {
241241
assertEquals(0, responseBody.get("invalid_date_count"));
242242
assertEquals(0, responseBody.get("missing_field_count"));
243243
assertEquals(0, responseBody.get("out_of_order_timestamp_count"));
244-
assertEquals(0, responseBody.get("bucket_count"));
244+
assertEquals(1000, responseBody.get("bucket_count"));
245245

246246
// unintuitive: should return the earliest record timestamp of this feed???
247247
assertEquals(null, responseBody.get("earliest_record_timestamp"));
@@ -266,7 +266,7 @@ public void testMiniFarequoteReopen() throws Exception {
266266
assertEquals(0, dataCountsDoc.get("invalid_date_count"));
267267
assertEquals(0, dataCountsDoc.get("missing_field_count"));
268268
assertEquals(0, dataCountsDoc.get("out_of_order_timestamp_count"));
269-
assertEquals(0, dataCountsDoc.get("bucket_count"));
269+
assertEquals(1000, dataCountsDoc.get("bucket_count"));
270270
assertEquals(1403481600000L, dataCountsDoc.get("earliest_record_timestamp"));
271271
assertEquals(1407082000000L, dataCountsDoc.get("latest_record_timestamp"));
272272

0 commit comments

Comments
 (0)