Skip to content

Commit

Permalink
[MINOR][TESTS][DOCS] Use fully-qualified class name in docker integra…
Browse files Browse the repository at this point in the history
…tion test

### What changes were proposed in this pull request?
change
```
./build/sbt -Pdocker-integration-tests "testOnly *xxxIntegrationSuite"
```
to
```
./build/sbt -Pdocker-integration-tests "testOnly org.apache.spark.sql.jdbc.xxxIntegrationSuite"
```

### Why are the changes needed?
We only want to start v1 ```xxxIntegrationSuite```, not the newly added```v2.xxxIntegrationSuite```.

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
Manually checked

Closes #30448 from huaxingao/dockertest.

Authored-by: Huaxin Gao <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
  • Loading branch information
huaxingao authored and dongjoon-hyun committed Nov 20, 2020
1 parent 116b7b7 commit a1a3d5c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ import org.apache.spark.tags.DockerTest
* To run this test suite for a specific version (e.g., ibmcom/db2:11.5.4.0):
* {{{
* DB2_DOCKER_IMAGE_NAME=ibmcom/db2:11.5.4.0
* ./build/sbt -Pdocker-integration-tests "testOnly *DB2IntegrationSuite"
* ./build/sbt -Pdocker-integration-tests
* "testOnly org.apache.spark.sql.jdbc.DB2IntegrationSuite"
* }}}
*/
@DockerTest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ import org.apache.spark.tags.DockerTest
* To run this test suite for a specific version (e.g., 2019-GA-ubuntu-16.04):
* {{{
* MSSQLSERVER_DOCKER_IMAGE_NAME=2019-GA-ubuntu-16.04
* ./build/sbt -Pdocker-integration-tests "testOnly *MsSqlServerIntegrationSuite"
* ./build/sbt -Pdocker-integration-tests
* "testOnly org.apache.spark.sql.jdbc.MsSqlServerIntegrationSuite"
* }}}
*/
@DockerTest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ import org.apache.spark.tags.DockerTest
* To run this test suite for a specific version (e.g., mysql:5.7.31):
* {{{
* MYSQL_DOCKER_IMAGE_NAME=mysql:5.7.31
* ./build/sbt -Pdocker-integration-tests "testOnly *MySQLIntegrationSuite"
* ./build/sbt -Pdocker-integration-tests
* "testOnly org.apache.spark.sql.jdbc.MySQLIntegrationSuite"
* }}}
*/
@DockerTest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ import org.apache.spark.tags.DockerTest
* To run this test suite for a specific version (e.g., postgres:13.0):
* {{{
* POSTGRES_DOCKER_IMAGE_NAME=postgres:13.0
* ./build/sbt -Pdocker-integration-tests "testOnly *PostgresIntegrationSuite"
* ./build/sbt -Pdocker-integration-tests
* "testOnly org.apache.spark.sql.jdbc.PostgresIntegrationSuite"
* }}}
*/
@DockerTest
Expand Down

0 comments on commit a1a3d5c

Please sign in to comment.