From 1ea3f5175aa579ee10cdf21898e7ef774ab06018 Mon Sep 17 00:00:00 2001 From: Nik Everett Date: Wed, 23 Aug 2017 09:17:39 -0400 Subject: [PATCH] Fix build Original commit: elastic/x-pack-elasticsearch@474e5e7a9a5adfc561f6719f4bca349ff7329b15 --- .../java/org/elasticsearch/xpack/sql/jdbc/DebugCsvSpec.java | 2 +- .../java/org/elasticsearch/xpack/sql/jdbc/DebugSqlSpec.java | 2 +- .../xpack/sql/jdbc/framework/SpecBaseIntegrationTestCase.java | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/DebugCsvSpec.java b/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/DebugCsvSpec.java index 4547b8d9744..2b88a44b142 100644 --- a/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/DebugCsvSpec.java +++ b/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/DebugCsvSpec.java @@ -14,7 +14,7 @@ import java.nio.file.Path; import java.util.List; @TestLogging(JdbcTestUtils.SQL_TRACE) -public class DebugCsvSpec extends CsvSpecIT { +public abstract class DebugCsvSpec extends CsvSpecIT { @ParametersFactory(shuffle = false, argumentFormatting = SqlSpecIT.PARAM_FORMATTING) public static List readScriptSpec() throws Exception { diff --git a/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/DebugSqlSpec.java b/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/DebugSqlSpec.java index 49ae13425a5..0097edcc0c0 100644 --- a/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/DebugSqlSpec.java +++ b/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/DebugSqlSpec.java @@ -14,7 +14,7 @@ import java.nio.file.Path; import java.util.List; @TestLogging(JdbcTestUtils.SQL_TRACE) -public class DebugSqlSpec extends SqlSpecIT { +public abstract class DebugSqlSpec extends SqlSpecIT { @ParametersFactory(shuffle = false, argumentFormatting = SqlSpecIT.PARAM_FORMATTING) public static List readScriptSpec() throws Exception { diff --git a/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/framework/SpecBaseIntegrationTestCase.java b/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/framework/SpecBaseIntegrationTestCase.java index 4564c30fee6..d2a3c65af89 100644 --- a/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/framework/SpecBaseIntegrationTestCase.java +++ b/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/framework/SpecBaseIntegrationTestCase.java @@ -83,8 +83,6 @@ public abstract class SpecBaseIntegrationTestCase extends JdbcIntegrationTestCas /** * Implementations should pay attention on using {@link #executeJdbcQuery(Connection, String)} (typically for ES connections) * and {@link #assertResults(ResultSet, ResultSet)} which takes into account logging/debugging results (through {@link #logEsResultSet()}. - * - * @throws Throwable */ protected abstract void doTest() throws Throwable;