vincentchenjl commented on a change in pull request #5435: URL: https://github.com/apache/incubator-pinot/pull/5435#discussion_r431528717
########## File path: thirdeye/thirdeye-pinot/src/test/java/org/apache/pinot/thirdeye/datalayer/DaoTestUtils.java ########## @@ -275,22 +273,6 @@ public static DetectionStatusDTO getTestDetectionStatus(String dataset, long dat return detectionStatusDTO; } - public static AutotuneConfigDTO getTestAutotuneConfig(long functionId, long start, long end) { - AutotuneConfigDTO autotuneConfigDTO = new AutotuneConfigDTO(); - autotuneConfigDTO.setFunctionId(functionId); - autotuneConfigDTO.setStartTime(start); - autotuneConfigDTO.setEndTime(end); - autotuneConfigDTO.setPerformanceEvaluationMethod(PerformanceEvaluationMethod.ANOMALY_PERCENTAGE); - autotuneConfigDTO.setLastUpdateTimestamp(DateTime.now().getMillis()); - Map<String, String> config = new HashMap<>(); - config.put("ConfigKey", "ConfigValue"); - autotuneConfigDTO.setConfiguration(config); - Map<String, Double> performance = new HashMap<>(); - performance.put(autotuneConfigDTO.getPerformanceEvaluationMethod().name(), 0.5); - autotuneConfigDTO.setPerformance(performance); - return autotuneConfigDTO; - } - public static ClassificationConfigDTO getTestClassificationConfig(String name, List<Long> mainFunctionIdList, Review comment: This can be removed in next PR with all the unused DAO objects. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org