Adrien Grand created LUCENE-8579:
------------------------------------
Summary: 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
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')
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: [email protected]
For additional commands, e-mail: [email protected]