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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: main (9.0)
    • Component/s: Package Manager, Tests
    • Labels:
      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

            • Assignee:
              noble.paul Noble Paul
              Reporter:
              mdrob Mike Drob

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment