diff options
author | Nik Everett <nik9000@gmail.com> | 2016-07-25 18:58:44 -0400 |
---|---|---|
committer | Nik Everett <nik9000@gmail.com> | 2016-07-26 13:53:44 -0400 |
commit | 9270e8b22b2df5ae09726464419c179e18d9a3a7 (patch) | |
tree | 6fe41e0ba6d3adc21d822be45b11f7fada18f4ef /plugins/repository-hdfs | |
parent | 0553ba9151dd5882391d076216b9363679a64949 (diff) |
Rename client yaml test infrastructure
This makes it obvious that these tests are for running the client yaml
suites. Now that there are other ways of running tests using the REST
client against a running cluster we can't go on calling the shared
client yaml tests "REST tests". They are rest tests, but they aren't
**the** rest tests.
Diffstat (limited to 'plugins/repository-hdfs')
-rw-r--r-- | plugins/repository-hdfs/src/test/java/org/elasticsearch/repositories/hdfs/RepositoryHdfsClientYamlTestSuiteIT.java (renamed from plugins/repository-hdfs/src/test/java/org/elasticsearch/repositories/hdfs/HdfsRepositoryRestIT.java) | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/plugins/repository-hdfs/src/test/java/org/elasticsearch/repositories/hdfs/HdfsRepositoryRestIT.java b/plugins/repository-hdfs/src/test/java/org/elasticsearch/repositories/hdfs/RepositoryHdfsClientYamlTestSuiteIT.java index 147838df9e..1dfbb3c51b 100644 --- a/plugins/repository-hdfs/src/test/java/org/elasticsearch/repositories/hdfs/HdfsRepositoryRestIT.java +++ b/plugins/repository-hdfs/src/test/java/org/elasticsearch/repositories/hdfs/RepositoryHdfsClientYamlTestSuiteIT.java @@ -22,18 +22,19 @@ import java.io.IOException; import com.carrotsearch.randomizedtesting.annotations.Name; import com.carrotsearch.randomizedtesting.annotations.ParametersFactory; -import org.elasticsearch.test.rest.ESClientYamlSuiteTestCase; -import org.elasticsearch.test.rest.RestTestCandidate; -import org.elasticsearch.test.rest.parser.RestTestParseException; -public class HdfsRepositoryRestIT extends ESClientYamlSuiteTestCase { +import org.elasticsearch.test.rest.yaml.ClientYamlTestCandidate; +import org.elasticsearch.test.rest.yaml.ESClientYamlSuiteTestCase; +import org.elasticsearch.test.rest.yaml.parser.ClientYamlTestParseException; - public HdfsRepositoryRestIT(@Name("yaml") RestTestCandidate testCandidate) { +public class RepositoryHdfsClientYamlTestSuiteIT extends ESClientYamlSuiteTestCase { + + public RepositoryHdfsClientYamlTestSuiteIT(@Name("yaml") ClientYamlTestCandidate testCandidate) { super(testCandidate); } @ParametersFactory - public static Iterable<Object[]> parameters() throws IOException, RestTestParseException { + public static Iterable<Object[]> parameters() throws IOException, ClientYamlTestParseException { return ESClientYamlSuiteTestCase.createParameters(0, 1); } } |