You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2020/08/01 17:45:15 UTC

[GitHub] [hudi] xushiyan opened a new pull request #1897: [MINOR] Prevent scalatest plugin from running in non-UTs

xushiyan opened a new pull request #1897:
URL: https://github.com/apache/hudi/pull/1897


   
   ## Committer checklist
   
    - [ ] Has a corresponding JIRA in PR title & commit
    
    - [ ] Commit message is descriptive of the change
    
    - [ ] CI is green
   
    - [ ] Necessary doc changes done or have another open PR
          
    - [ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] vinothchandar commented on a change in pull request #1897: [MINOR] Prevent scalatest plugin from running in non-UTs

Posted by GitBox <gi...@apache.org>.
vinothchandar commented on a change in pull request #1897:
URL: https://github.com/apache/hudi/pull/1897#discussion_r464177325



##########
File path: scripts/run_travis_tests.sh
##########
@@ -22,7 +22,7 @@ sparkVersion=2.4.4
 hadoopVersion=2.7
 
 if [ "$mode" = "unit" ]; then
-  mvn clean install -Punit-tests -DskipTests -q
+  mvn clean install -DskipTests -q

Review comment:
       got it. 




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] vinothchandar merged pull request #1897: [MINOR] Prevent scalatest plugin from running in non-UTs

Posted by GitBox <gi...@apache.org>.
vinothchandar merged pull request #1897:
URL: https://github.com/apache/hudi/pull/1897


   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] vinothchandar commented on a change in pull request #1897: [MINOR] Prevent scalatest plugin from running in non-UTs

Posted by GitBox <gi...@apache.org>.
vinothchandar commented on a change in pull request #1897:
URL: https://github.com/apache/hudi/pull/1897#discussion_r464175776



##########
File path: scripts/run_travis_tests.sh
##########
@@ -22,7 +22,7 @@ sparkVersion=2.4.4
 hadoopVersion=2.7
 
 if [ "$mode" = "unit" ]; then
-  mvn clean install -Punit-tests -DskipTests -q
+  mvn clean install -DskipTests -q

Review comment:
       @xushiyan why did this have to change? you are probably right. just trying to understand 




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hudi] xushiyan commented on a change in pull request #1897: [MINOR] Prevent scalatest plugin from running in non-UTs

Posted by GitBox <gi...@apache.org>.
xushiyan commented on a change in pull request #1897:
URL: https://github.com/apache/hudi/pull/1897#discussion_r464177006



##########
File path: scripts/run_travis_tests.sh
##########
@@ -22,7 +22,7 @@ sparkVersion=2.4.4
 hadoopVersion=2.7
 
 if [ "$mode" = "unit" ]; then
-  mvn clean install -Punit-tests -DskipTests -q
+  mvn clean install -DskipTests -q

Review comment:
       sure. the "unit-tests" maven profile sets `skipUTs=false`, which will cause scalatest-maven-plugin to run tests during the install phase. I actually don't recall why I have to set maven profile here.. 🤔 

##########
File path: scripts/run_travis_tests.sh
##########
@@ -22,7 +22,7 @@ sparkVersion=2.4.4
 hadoopVersion=2.7
 
 if [ "$mode" = "unit" ]; then
-  mvn clean install -Punit-tests -DskipTests -q
+  mvn clean install -DskipTests -q

Review comment:
       sure. the "unit-tests" maven profile sets `skipUTs=false`, which will cause scalatest-maven-plugin to run tests during the install phase. I actually don't recall why I have to set maven profile here.. 




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org