This is an automated email from the ASF dual-hosted git repository.
janhoy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/main by this push:
new 8b2e99721e2 Remove the dead tests.badapples build property (#5343)
8b2e99721e2 is described below
commit 8b2e99721e28c66b96654d0dff440d74785febb2
Author: Jan Høydahl <[email protected]>
AuthorDate: Wed Nov 18 16:31:09 2026 +0100
Remove the dead tests.badapples build property (#5343)
---
dev-tools/scripts/buildAndPushRelease.py | 4 ++--
dev-tools/scripts/smokeTestRelease.py | 6 +++---
dev-tools/test-patch/lucene-solr-yetus-personality.sh | 2 +-
gradle/testing/randomization.gradle | 1 -
4 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/dev-tools/scripts/buildAndPushRelease.py
b/dev-tools/scripts/buildAndPushRelease.py
index dc91a3d0e87..3e18af441a6 100755
--- a/dev-tools/scripts/buildAndPushRelease.py
+++ b/dev-tools/scripts/buildAndPushRelease.py
@@ -114,8 +114,8 @@ def prepare(root, version, pause_before_sign, mf_username,
gpg_key_id, gpg_passw
checkDOAPfiles(version)
if not dev_mode:
- print(' ./gradlew --no-daemon -Dtests.badapples=false clean check')
- run('./gradlew --no-daemon -Dtests.badapples=false clean check')
+ print(' ./gradlew --no-daemon clean check')
+ run('./gradlew --no-daemon clean check')
else:
print(' skipping precommit check due to dev-mode')
diff --git a/dev-tools/scripts/smokeTestRelease.py
b/dev-tools/scripts/smokeTestRelease.py
index 2a58e67b32a..351aa8558c6 100755
--- a/dev-tools/scripts/smokeTestRelease.py
+++ b/dev-tools/scripts/smokeTestRelease.py
@@ -1189,10 +1189,10 @@ def smokeTest(java, baseURL, gitRevision, version,
tmpDir, isSigned, local_keys,
startTime = datetime.datetime.now()
origTestArgs = testArgs
- # Avoid @Nightly and @Badapple tests as they are slow and buggy
+ # Avoid @Nightly tests as they are slow and buggy
# Instead verify that the recent Jenkins tests pass
- print('NOTE: Not running @Nightly or @BadApple tests. Please verify that
recent Jenkins runs have passed.')
- testArgs = '-Dtests.nightly=false -Dtests.badapples=false %s' % testArgs
+ print('NOTE: Not running @Nightly tests. Please verify that recent Jenkins
runs have passed.')
+ testArgs = '-Dtests.nightly=false %s' % testArgs
if FORCE_CLEAN:
if os.path.exists(tmpDir):
diff --git a/dev-tools/test-patch/lucene-solr-yetus-personality.sh
b/dev-tools/test-patch/lucene-solr-yetus-personality.sh
index 15319943307..4c38762da21 100644
--- a/dev-tools/test-patch/lucene-solr-yetus-personality.sh
+++ b/dev-tools/test-patch/lucene-solr-yetus-personality.sh
@@ -104,7 +104,7 @@ function personality_modules
;;
junit|unit)
moduleType="submodules"
- extra="-Dtests.badapples=false test"
+ extra="test"
;;
*)
;;
diff --git a/gradle/testing/randomization.gradle
b/gradle/testing/randomization.gradle
index a7af5faf1be..5dc8afc209c 100644
--- a/gradle/testing/randomization.gradle
+++ b/gradle/testing/randomization.gradle
@@ -108,7 +108,6 @@ allprojects {
[propName: 'tests.weekly', value: false, description: "Enables or
disables @Weekly tests."],
[propName: 'tests.monster', value: false, description: "Enables or
disables @Monster tests."],
[propName: 'tests.awaitsfix', value: null, description: "Enables or
disables @AwaitsFix tests."],
- [propName: 'tests.badapples', value: null, description: "Enables or
disables @BadApple tests."],
[propName: 'tests.file.encoding',
value: {->
RandomPicks