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

MultiCoreExampleTest and MultiCoreEmbedded test clash with each other

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.0-ALPHA
    • 4.0-ALPHA
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: