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

MultiCoreExampleTest and MultiCoreEmbedded test clash with each other

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0-ALPHA
    • Fix Version/s: 4.0-ALPHA
    • Component/s: None
    • Labels:
      None

      Description

      When those two tests are run at same time one of them is going to fail with error like this:

      java.lang.AssertionError
      at __randomizedtesting.SeedInfo.seed([B44AE18D746BCD54:3062FA7EBBB8C061]:0)
      at org.apache.solr.update.TransactionLog.<init>(TransactionLog.java:163)
      at org.apache.solr.update.TransactionLog.<init>(TransactionLog.java:133)
      at org.apache.solr.update.UpdateLog.ensureLog(UpdateLog.java:636)
      

      This is reproducible with:

      ant -Dtests.jvms=14 test  "-Dtests.class=org.apache.solr.client.solrj.embedded.*"
      

      Looks like this is because they share the directory example/multicore/core0/data/

        Attachments

        1. SOLR-3540.patch
          1 kB
          Sami Siren

          Activity

            People

            • Assignee:
              siren Sami Siren
              Reporter:
              siren Sami Siren
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: