From bbeb4581ac4940aa12fc4dc79deb819ea81d1694 Mon Sep 17 00:00:00 2001 From: Nik Everett Date: Fri, 15 Oct 2021 09:58:57 -0400 Subject: [PATCH] EQL: Rename a test class for eclipse Eclipse puts all of a project's classes into the same classpath. It's a silly thing but that's what it does. This was causing an error importing the EQL rest tests because we had two classes named `EqlRestIT`. I usually just closed that project after importing into eclipse. Today I decided to make Eclipse happy and rename the test. --- .../xpack/eql/{EqlRestIT.java => EqlClientYamlIT.java} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename x-pack/plugin/eql/qa/rest/src/yamlRestTest/java/org/elasticsearch/xpack/eql/{EqlRestIT.java => EqlClientYamlIT.java} (82%) diff --git a/x-pack/plugin/eql/qa/rest/src/yamlRestTest/java/org/elasticsearch/xpack/eql/EqlRestIT.java b/x-pack/plugin/eql/qa/rest/src/yamlRestTest/java/org/elasticsearch/xpack/eql/EqlClientYamlIT.java similarity index 82% rename from x-pack/plugin/eql/qa/rest/src/yamlRestTest/java/org/elasticsearch/xpack/eql/EqlRestIT.java rename to x-pack/plugin/eql/qa/rest/src/yamlRestTest/java/org/elasticsearch/xpack/eql/EqlClientYamlIT.java index 393c202520de2..521a1176fdbbe 100644 --- a/x-pack/plugin/eql/qa/rest/src/yamlRestTest/java/org/elasticsearch/xpack/eql/EqlRestIT.java +++ b/x-pack/plugin/eql/qa/rest/src/yamlRestTest/java/org/elasticsearch/xpack/eql/EqlClientYamlIT.java @@ -12,9 +12,9 @@ import org.elasticsearch.test.rest.yaml.ClientYamlTestCandidate; import org.elasticsearch.test.rest.yaml.ESClientYamlSuiteTestCase; -public class EqlRestIT extends ESClientYamlSuiteTestCase { +public class EqlClientYamlIT extends ESClientYamlSuiteTestCase { - public EqlRestIT(final ClientYamlTestCandidate testCandidate) { + public EqlClientYamlIT(final ClientYamlTestCandidate testCandidate) { super(testCandidate); }