[
https://issues.apache.org/jira/browse/CALCITE-5006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17489675#comment-17489675
]
Stamatis Zampetakis commented on CALCITE-5006:
----------------------------------------------
The goal of this issue and the respective PR is to fix the Gradle tasks to
properly launch the tests. Running the tests after this change will show many
failures if the underlying databases are not running.
> Gradle tasks for launching JDBC integration tests are not working
> -----------------------------------------------------------------
>
> Key: CALCITE-5006
> URL: https://issues.apache.org/jira/browse/CALCITE-5006
> Project: Calcite
> Issue Type: Bug
> Components: build, tests
> Reporter: Stamatis Zampetakis
> Assignee: Stamatis Zampetakis
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.30.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The Gradle build provides a few tasks for launching JDBC integration tests.
> In particular running {{./gradlew tasks}} prints among other things the
> following:
> {noformat}
> integTestAll - Executes integration JDBC tests for all DBs
> integTestH2 - Executes integration JDBC tests with h2 database
> integTestMysql - Executes integration JDBC tests with mysql database
> integTestOracle - Executes integration JDBC tests with oracle database
> integTestPostgresql - Executes integration JDBC tests with postgresql database
> {noformat}
> However at the moment running any of the aforementioned tasks just prints
> BUILD SUCCESSFUL without doing anything so the tasks are basically a NOOP.
> I tried the following commands (changing also H2 with other DBs) but the
> result is more or less the same and the tests do not start:
> {noformat}
> ./gradlew integTestH2
> ./gradlew cleanTest integTestH2
> ./gradlew clean integTestH2
> ./gradlew clean :core:integTestH2
> > Configure project :
> Building Apache Calcite 1.30.0-SNAPSHOT
> BUILD SUCCESSFUL in 1s
> 73 actionable tasks: 19 executed, 10 from cache, 44 up-to-date
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)