[ 
https://issues.apache.org/jira/browse/HIVE-27427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitriy Fingerman updated HIVE-27427:
-------------------------------------
    Description: 
It often happens that Hive unit tests fail during pre-commit which requires 
rerunning the whole pre-commit job and creates hours of delays. Maven has the 
ability to rerun failed tests. There is the following property in 
maven-surefire-plugin which can be used for that:
{code:java}
rerunFailingTestsCount{code}
 

[Dev mail 
discussion|https://lists.apache.org/thread/3vfw9b7wc35vr17zjzk1pq2jrgtkdvrq]

[Rerun Failing 
Tests|[http://example.com|https://maven.apache.org/surefire/maven-surefire-plugin/examples/rerun-failing-tests.html]]

 

  was:
It often happens that Hive unit tests fail during pre-commit which requires 
rerunning the whole pre-commit job and creates hours of delays. What if we set 
Maven config to retry failed tests automatically X times? There is 
"rerunFailingTestsCount" property in maven-surefire-plugin which can be used 
for that. I would like to hear the feedback and if it is positive I could open 
a JIRA ticket and work on it.

[Dev mail 
discussion|https://lists.apache.org/thread/3vfw9b7wc35vr17zjzk1pq2jrgtkdvrq]

 

 


> Automatic rerunning of failed tests in Hive Pre-commit job
> ----------------------------------------------------------
>
>                 Key: HIVE-27427
>                 URL: https://issues.apache.org/jira/browse/HIVE-27427
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Dmitriy Fingerman
>            Assignee: Dmitriy Fingerman
>            Priority: Major
>
> It often happens that Hive unit tests fail during pre-commit which requires 
> rerunning the whole pre-commit job and creates hours of delays. Maven has the 
> ability to rerun failed tests. There is the following property in 
> maven-surefire-plugin which can be used for that:
> {code:java}
> rerunFailingTestsCount{code}
>  
> [Dev mail 
> discussion|https://lists.apache.org/thread/3vfw9b7wc35vr17zjzk1pq2jrgtkdvrq]
> [Rerun Failing 
> Tests|[http://example.com|https://maven.apache.org/surefire/maven-surefire-plugin/examples/rerun-failing-tests.html]]
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to