From dee3b8911a89607871b9fecaca1305fd60f2a1e5 Mon Sep 17 00:00:00 2001 From: Dimitris Athanasiou Date: Thu, 15 Jul 2021 14:03:52 +0300 Subject: [PATCH] [ML] Rename JobNodeLoadDetectorTests to match tested class (#75370) Tested class is `NodeLoadDetector` thus the test class name should be `NodeLoadDetectorTests`. --- ...JobNodeLoadDetectorTests.java => NodeLoadDetectorTests.java} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/{JobNodeLoadDetectorTests.java => NodeLoadDetectorTests.java} (99%) diff --git a/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/JobNodeLoadDetectorTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/NodeLoadDetectorTests.java similarity index 99% rename from x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/JobNodeLoadDetectorTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/NodeLoadDetectorTests.java index 839170e9e9b88..48d3490a3fc9e 100644 --- a/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/JobNodeLoadDetectorTests.java +++ b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/NodeLoadDetectorTests.java @@ -34,7 +34,7 @@ import static org.mockito.Mockito.when; // TODO: in 8.0.0 remove all instances of MAX_OPEN_JOBS_NODE_ATTR from this file -public class JobNodeLoadDetectorTests extends ESTestCase { +public class NodeLoadDetectorTests extends ESTestCase { // To simplify the logic in this class all jobs have the same memory requirement private static final ByteSizeValue JOB_MEMORY_REQUIREMENT = ByteSizeValue.ofMb(10);