Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-15925

@Integration annotation and -Ptests.integration=false flag

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Build, Tests
    • None

    Description

      Ref dev mail thread https://lists.apache.org/thread/lgnz0jroqr40x876ocdzz9ft47vmo24v we need a way to run ONLY unit tests, i.e. skip all tests spinning up clusters etc.

      Suggestion is an @Integration annotation for those tests (are they inherited, then it's enough to put on some base classes), and a gradle filtering param -Ptests.integration=false 

      Next, the question is what should be the default for gradlew test and gradlew check ??

      uschindler 

      Attachments

        Activity

          People

            Unassigned Unassigned
            janhoy Jan Høydahl
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: