apache / apache/lucene

Precommit could check for any tests in the latest commit and do a cursory beasting. [LUCENE-8545]

Open
#9,591 0 comments 0 reactions 0 assignees View on GitHub
legacy-jira-priority:Major type:test
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

Many tests are not currently beastable with the build beast target because they are not made in a way that they can be called repeatedly with a clean env.

We should consider letting precommit lightly beast any test in the last commit - this will ensure tests can be beasted with the build beaster and gives a little protection against some of the really flakey tests that get committed.

I have a little prototype that still needs a bit of work.

---
Migrated from [LUCENE-8545](https://issues.apache.org/jira/browse/LUCENE-8545) by Mark Miller (@markrmiller)
Linked issues:
- [SOLR-12801](https://issues.apache.org/jira/browse/SOLR-12801)
- #9593
- [SOLR-12923](https://issues.apache.org/jira/browse/SOLR-12923)
- #9587

Contributor guide

Open the contributing guide

Research direction

Start by examining the precommit workflow, the build beast target, and the existing prototype mentioned in the issue. Determine how tests from the latest commit can be run repeatedly in a clean environment; done means precommit lightly beasts those tests without introducing flaky or non-repeatable behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, testing-qa
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.