Prechádzať zdrojové kódy

reenable warning checks in pivot tests (#49436)

reenable warning checks(deprecation warnings) in pivot tests
Hendrik Muhs 5 rokov pred
rodič
commit
fe3b002b1d

+ 0 - 10
x-pack/plugin/transform/src/test/java/org/elasticsearch/xpack/transform/transforms/pivot/PivotTests.java

@@ -86,16 +86,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());