This is an automated email from the ASF dual-hosted git repository. dsmiley pushed a commit to branch branch_9x in repository https://gitbox.apache.org/repos/asf/solr.git
commit 03bb9a958da38a6c0c8ef85175ed549dd70526c2 Author: Jan Høydahl <[email protected]> AuthorDate: Wed Nov 18 16:31:09 2026 +0100 Remove the dead tests.badapples build property (#5343) (cherry picked from commit 8b2e99721e28c66b96654d0dff440d74785febb2) (cherry picked from commit 4367527c4317a1f65e4bb64c8ed15245d96cb20c) --- 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 44416eed723..82acd0c31f5 100755 --- a/dev-tools/scripts/buildAndPushRelease.py +++ b/dev-tools/scripts/buildAndPushRelease.py @@ -112,8 +112,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 78409945a97..c6b361f6709 100755 --- a/dev-tools/scripts/smokeTestRelease.py +++ b/dev-tools/scripts/smokeTestRelease.py @@ -1108,10 +1108,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 717c82126c1..69227bffcbf 100644 --- a/gradle/testing/randomization.gradle +++ b/gradle/testing/randomization.gradle @@ -106,7 +106,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.randomFrom(new Random(projectSeedLong), ["US-ASCII", "ISO-8859-1", "UTF-8"])
