pvary commented on code in PR #3399: URL: https://github.com/apache/hive/pull/3399#discussion_r904508963
########## standalone-metastore/DEV-README: ########## @@ -23,47 +23,34 @@ quick test can be done for the unit tests and more in depth testing as part of the checkin tests. -------------------------------------------------------------------------------- -There are integration tests for testing installation and upgrade of the +There are checkin tests for testing installation and upgrade of the metastore on Derby, MySQL (actually MariaDB is used), Oracle, Postgres, and SQLServer. -Each ITest runs two tests, one that installs the latest version of the +For each DB type we runs two tests, one that installs the latest version of the database and one that installs the latest version minus one and then upgrades the database. -To run the tests you will need to explicitly turn on integration testing by -setting skipITests variable to false. The tests rely on Docker so the latter -needs to be installed and configured properly (e.g., memory more than 3.5GB). - -Run all tests: - -mvn verify -DskipITests=false -Dtest=nosuch +The tests (except Derby) rely on Docker so the latter needs to be installed and configured +properly (e.g., memory more than 3.5GB). Run a single test: -mvn verify -DskipITests=false -Dit.test=ITestMysql -Dtest=nosuch +mvn test -Dtest.groups=MetastoreCheckinTest -Dtest=ITestDerby Supported databases for testing: --Dit.test=ITestDerby --Dit.test=ITestMysql --Dit.test=ITestOracle --Dit.test=ITestPostgres --Dit.test=ITestMssql +ITestDerby Review Comment: I think these names are changed -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
