mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
[TEST] Temporarily silence MovAvgIT tests due to change in double comparisons
#29409 removed the nearlyEquals() double comparison snippet, which makes these tests very flaky because they can generate very large or very small doubles which don't work well with absolute error comparison. We need to either refactor these tests to guarantee they stay in a small range (which could be difficult due to holt/holt-winters) or re-implement the more robust double comparison. Tracking issue: #29456
This commit is contained in:
parent
bca192a327
commit
c341b41c54
@ -19,6 +19,7 @@
|
||||
|
||||
package org.elasticsearch.search.aggregations.pipeline.moving.avg;
|
||||
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
import org.elasticsearch.action.bulk.BulkRequestBuilder;
|
||||
import org.elasticsearch.action.bulk.BulkResponse;
|
||||
import org.elasticsearch.action.index.IndexRequestBuilder;
|
||||
@ -67,6 +68,7 @@ import static org.hamcrest.Matchers.is;
|
||||
import static org.hamcrest.core.IsNull.notNullValue;
|
||||
import static org.hamcrest.core.IsNull.nullValue;
|
||||
|
||||
@LuceneTestCase.AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/29456")
|
||||
@ESIntegTestCase.SuiteScopeTestCase
|
||||
public class MovAvgIT extends ESIntegTestCase {
|
||||
private static final String INTERVAL_FIELD = "l_value";
|
||||
@ -600,6 +602,7 @@ public class MovAvgIT extends ESIntegTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void testHoltWintersValuedField() {
|
||||
SearchResponse response = client()
|
||||
.prepareSearch("idx").setTypes("type")
|
||||
|
Loading…
x
Reference in New Issue
Block a user