Return test annotation

This commit returns a test annotation that is needed on
PreBuiltXPackTransportClientTests because the test derives from
RandomizedTest and not ESTestCase and its ilk.

Original commit: elastic/x-pack-elasticsearch@1badced090
This commit is contained in:
Jason Tedor 2017-01-12 19:30:24 -05:00
parent d30f20212c
commit 0169c7055d
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ import static org.junit.Assert.assertEquals;
*/ */
public class PreBuiltXPackTransportClientTests extends RandomizedTest { public class PreBuiltXPackTransportClientTests extends RandomizedTest {
@Test
public void testPluginInstalled() { public void testPluginInstalled() {
try (TransportClient client = new PreBuiltXPackTransportClient(Settings.EMPTY)) { try (TransportClient client = new PreBuiltXPackTransportClient(Settings.EMPTY)) {
Settings settings = client.settings(); Settings settings = client.settings();