[ 
https://issues.apache.org/jira/browse/LUCENE-8579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16704434#comment-16704434
 ] 

ASF subversion and git services commented on LUCENE-8579:
---------------------------------------------------------

Commit e021e57a427aaccc500a0ed69c5cf4c9fc3a97f1 in lucene-solr's branch 
refs/heads/branch_7x from [~jpountz]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=e021e57 ]

LUCENE-8579: Don't run bad apples when building a release.


> Don't run badapples when building a release
> -------------------------------------------
>
>                 Key: LUCENE-8579
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8579
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Priority: Major
>
> Nick pinged me because his attempt to build a release failed because of Solr 
> test failures. When looking at those, I noticed that a number of them were 
> known flaky test that are already tagged as bad apples, eg. 
> org.apache.solr.cloud.TestStressInPlaceUpdates.stressTest.
> We should disable badapples in the script to build a release, ie. something 
> like
> {code:python}
> diff --git a/dev-tools/scripts/buildAndPushRelease.py 
> b/dev-tools/scripts/buildAndPushRelease.py
> index 5a8f5cc..b557da2 100644
> --- a/dev-tools/scripts/buildAndPushRelease.py
> +++ b/dev-tools/scripts/buildAndPushRelease.py
> @@ -105,7 +105,7 @@ def prepare(root, version, gpgKeyID, gpgPassword):
>    print('  Check DOAP files')
>    checkDOAPfiles(version)
>  
> -  print('  ant clean test validate documentation-lint')
> +  print('  ant -Dtests.badapples=false clean test validate 
> documentation-lint')
> -  run('ant clean test validate documentation-lint')
> +  run('ant -Dtests.badapples=false clean test validate documentation-lint')
>  
>    open('rev.txt', mode='wb').write(rev.encode('UTF-8'))
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to