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

Reproduce with line inaccurate for class methods

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Tests
    • Labels:
      None

      Description

      I had this failure running tests recently:

        - org.apache.solr.cloud.api.collections.ShardSplitTest.classMethod (:solr:core)
          Test output: /Users/mdrob/code/solr/solr/core/build/test-results/test/outputs/OUTPUT-org.apache.solr.cloud.api.collections.ShardSplitTest.txt
          Reproduce with: gradlew :solr:core:test --tests "org.apache.solr.cloud.api.collections.ShardSplitTest.classMethod" -Ptests.jvms=16 -Ptests.jvmargs=-XX:TieredStopAtLevel=1 -Ptests.seed=40D22CF6F9086FB4 -Ptests.file.encoding=UTF-8 

      There is no "classMethod" method, so the given command line fails to reproduce the failure. Unfortunately, I do not have the logs anymore, but I strongly expect this was a failure either in the test setup, teardown, or possibly something like the thread leak detector.

       

      We should figure out how we can provide a better reproduce with line for this type of failure.

        Attachments

        1. SOLR-15447.patch
          1 kB
          Dawid Weiss

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mdrob Mike Drob
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: