From 1fbb248cb7193f2234b3b17ba77421db2a9079e9 Mon Sep 17 00:00:00 2001 From: Hendrik Muhs Date: Fri, 22 Nov 2019 08:50:10 +0100 Subject: [PATCH] reenable warning checks in pivot tests (#49436) --- .../xpack/transform/transforms/pivot/PivotTests.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/x-pack/plugin/transform/src/test/java/org/elasticsearch/xpack/transform/transforms/pivot/PivotTests.java b/x-pack/plugin/transform/src/test/java/org/elasticsearch/xpack/transform/transforms/pivot/PivotTests.java index 0dfae4ccbe5..60e1454a9c0 100644 --- a/x-pack/plugin/transform/src/test/java/org/elasticsearch/xpack/transform/transforms/pivot/PivotTests.java +++ b/x-pack/plugin/transform/src/test/java/org/elasticsearch/xpack/transform/transforms/pivot/PivotTests.java @@ -87,15 +87,6 @@ public class PivotTests extends ESTestCase { return namedXContentRegistry; } - /* - Had to disable warnings because tests get random date histo configs, and changing to - new interval format was non-trivial. Best for ML team to fix - */ - @Override - protected boolean enableWarningsCheck() { - return false; - } - public void testValidateExistingIndex() throws Exception { SourceConfig source = new SourceConfig(new String[] { "existing_source_index" }, QueryConfig.matchAll()); Pivot pivot = new Pivot(getValidPivotConfig());