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

Reproduce with should include -Dtests.iters=N

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • modules/test-framework
    • None
    • New

    Description

      I was playing with the patch on LUCENE-6066, and hit a test failure, but then the "Reproduce with: " failed to reproduce, which threw me for a bit of a loop, until I realized it was missing the -Dtests.iters=N.

      To see this, apply the patch on LUCENE-6066 to trunk and then run this:

      ant test  -Dtestcase=TestPriorityQueue -Dtests.method=testRemovalsAndInsertions* -Dtests.seed=2576D26D551748E5 -Dtests.slow=true -Dtests.linedocsfile=/lucenedata/hudson.enwiki.random.lines.txt -Dtests.locale=ru_RU -Dtests.timezone=Europe/Paris -Dtests.asserts=true -Dtests.file.encoding=UTF-8 -Dtests.iters=10
      

      (or just insert a random test failure into e.g. TestDemo or something).

      It should fail, but the "Reproduce with: ..." line does not include -Dtests.iters=10. I think it should?

      Attachments

        Activity

          People

            Unassigned Unassigned
            mikemccand Michael McCandless
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: