Make debug tests abstract again
Original commit: elastic/x-pack-elasticsearch@1c9b60d556
This commit is contained in:
parent
ba81321d0d
commit
aa85496090
|
@ -15,7 +15,7 @@ import java.sql.SQLException;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@TestLogging(JdbcTestUtils.SQL_TRACE)
|
@TestLogging(JdbcTestUtils.SQL_TRACE)
|
||||||
public class DebugCsvSpec extends CsvSpecTestCase {
|
public abstract class DebugCsvSpec extends CsvSpecTestCase {
|
||||||
|
|
||||||
@ParametersFactory(shuffle = false, argumentFormatting = SqlSpecTestCase.PARAM_FORMATTING)
|
@ParametersFactory(shuffle = false, argumentFormatting = SqlSpecTestCase.PARAM_FORMATTING)
|
||||||
public static List<Object[]> readScriptSpec() throws Exception {
|
public static List<Object[]> readScriptSpec() throws Exception {
|
||||||
|
@ -34,9 +34,9 @@ public class DebugCsvSpec extends CsvSpecTestCase {
|
||||||
//
|
//
|
||||||
// uncomment this to printout the result set and create new CSV tests
|
// uncomment this to printout the result set and create new CSV tests
|
||||||
//
|
//
|
||||||
JdbcTestUtils.logResultSetMetadata(elastic, log);
|
//JdbcTestUtils.logResultSetMetadata(elastic, log);
|
||||||
JdbcTestUtils.logResultSetData(elastic, log);
|
//JdbcTestUtils.logResultSetData(elastic, log);
|
||||||
//JdbcAssert.assertResultSets(expected, elastic, log);
|
JdbcAssert.assertResultSets(expected, elastic, log);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -12,7 +12,7 @@ import org.elasticsearch.test.junit.annotations.TestLogging;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@TestLogging(JdbcTestUtils.SQL_TRACE)
|
@TestLogging(JdbcTestUtils.SQL_TRACE)
|
||||||
public class DebugSqlSpec extends SqlSpecTestCase {
|
public abstract class DebugSqlSpec extends SqlSpecTestCase {
|
||||||
@ParametersFactory(shuffle = false, argumentFormatting = PARAM_FORMATTING)
|
@ParametersFactory(shuffle = false, argumentFormatting = PARAM_FORMATTING)
|
||||||
public static List<Object[]> readScriptSpec() throws Exception {
|
public static List<Object[]> readScriptSpec() throws Exception {
|
||||||
Parser parser = specParser();
|
Parser parser = specParser();
|
||||||
|
|
Loading…
Reference in New Issue