Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add information about enabling integration tests #3

Closed
AnastasiiaSergienko opened this issue Jan 15, 2021 · 1 comment · Fixed by #8
Closed

Add information about enabling integration tests #3

AnastasiiaSergienko opened this issue Jan 15, 2021 · 1 comment · Fixed by #8
Labels
documentation User guides, tutorials, specifications

Comments

@AnastasiiaSergienko
Copy link
Contributor

No description provided.

@AnastasiiaSergienko AnastasiiaSergienko added the documentation User guides, tutorials, specifications label Jan 15, 2021
@AnastasiiaSergienko
Copy link
Contributor Author

Executing Disabled Integration Tests

Some integration tests are not running automatically, but it is possible to execute them locally.
The reason for the tests being disabled is we can only deliver drivers where the license allows redistribution.
Therefore we cannot include some jdbc drivers to the projects and you need to download them manually for local integration testing.

List of disabled integration tests:

  • HiveSqlDialectIT

Starting Disabled Integration Test Locally

  1. Download the Hive JDBC driver HiveJDBC41.jar

  2. Temporarily put the driver into src/test/resources/integration/driver/hive directory.

  3. If the files' names are different (you renamed the file, or it has a different version number, for example) from the mentioned above, edit src/test/resources/integration/driver/hive/hive.properties and settings.cfg files.

  4. Run the tests from an IDE or temporarily add the integration test name into the maven-failsafe-plugin's includes a section and execute mvn verify command.

  5. Remove the driver after the test and do not upload it to the GitHub repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation User guides, tutorials, specifications
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant