Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-9660

gradle task cache should not cache --tests

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 9.0
    • general/build
    • None
    • New

    Description

      I recently ran a specific test at the CLI via gradle to see if a particular build failure repeats.  It includes the --tests command line option to specify the test.  The test passed.  Later I wanted to run it again; I suspected it might be flakey.  Gradle completed in 10 seconds, and I'm certain it didn't actually run the test. There was no printout and the build/test-results/test/outputs/...  from the test run still had not changed from previously.

      Mike Drob informed me of "gradlew cleanTest" but I'd prefer to not have to know about that, at least not for the specific case of wanting to execute a specific test.

      CC dweiss

      Attachments

        Issue Links

          Activity

            People

              dweiss Dawid Weiss
              dsmiley David Smiley
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m