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

TestPackages.verifyComponent expect a :package field but none is given

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.0
    • Package Manager, Tests
    • None

    Description

      While working on SOLR-15385, I found a bug in our tests where TestDistribPackageStore would only check the first of the values passed to it. Fixing that bug results in test failure for severalĀ TestPackages tests, because they call verifyComponent which expects a "packages" field in the packageInfo, but for some reason this is not returned. We need to either fix the test or fix the code, not sure what the correct behavior actually is.

      The actual response returned is:

      config={queryResponseWriter={json1={name=json1, class=mypkg:org.apache.solr.core.RuntimeLibResponseWriter, _packageinfo_={version=1.0, files=[/mypkg/runtimelibs.jar, /mypkg/testurpv1.jar, /mypkg/expressible.jar]}}}}} 

      Mainly filing this issue for now so that I have something to annotate with AwaitsFix so that it doesn't block my other work.

      Attachments

        Activity

          People

            noble.paul Noble Paul
            mdrob Mike Drob
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: