This is an automated email from the ASF dual-hosted git repository.
codope pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/hudi.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 1552cee2cb4 [HUDI-6054] Add documentation for integration test fix
(#8420)
1552cee2cb4 is described below
commit 1552cee2cb421404f491a49879cf1b968a9f339d
Author: Lokesh Jain <[email protected]>
AuthorDate: Thu Apr 13 20:00:09 2023 +0530
[HUDI-6054] Add documentation for integration test fix (#8420)
---
website/contribute/developer-setup.md | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/website/contribute/developer-setup.md
b/website/contribute/developer-setup.md
index 561ec68132f..9202c3c2ba9 100644
--- a/website/contribute/developer-setup.md
+++ b/website/contribute/developer-setup.md
@@ -298,6 +298,20 @@ mvn -Dsuites="org.apache.spark.sql.hudi.TestSpark3DDL
@Test Chinese table " -Dte
-Dtest=abc will assist in skipping all java tests.
-Dsuites="org.apache.spark.sql.hudi.TestSpark3DDL @Test Chinese table "
filters for a single scala test.
+- Run an Integration Test
+
+```shell
+mvn -T 2C -Pintegration-tests -DfailIfNoTests=false
-Dit.test=ITTestHoodieSanity#testRunHoodieJavaAppOnMultiPartitionKeysMORTable
verify
+```
+
+`verify` phase runs the integration test and cleans up the docker cluster
after execution. To retain the docker cluster use
+`integration-test` phase instead.
+
+**Note:** If you encounter `unknown shorthand flag: 'H' in -H`, this error
occurs when local environment has docker-compose version >= 2.0.
+The latest docker-compose is accessible using `docker-compose` whereas v1
version is accessible using `docker-compose-v1` locally.<br/>
+You can use `alt def` command to define different docker-compose versions.
Refer https://github.com/dotboris/alt. <br/>
+Use `alt use` to use v1 version of docker-compose while running integration
test locally.
+
## Releases