You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Mike Drob (Jira)" <ji...@apache.org> on 2021/06/18 07:10:00 UTC

[jira] [Reopened] (SOLR-15448) TestPackages.verifyComponent expect a :package field but none is given

     [ https://issues.apache.org/jira/browse/SOLR-15448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Drob reopened SOLR-15448:
------------------------------

There's also similar failures on TestPackages, can you look at those as well please?

> TestPackages.verifyComponent expect a :package field but none is given
> ----------------------------------------------------------------------
>
>                 Key: SOLR-15448
>                 URL: https://issues.apache.org/jira/browse/SOLR-15448
>             Project: Solr
>          Issue Type: Test
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Package Manager, Tests
>            Reporter: Mike Drob
>            Assignee: Noble Paul
>            Priority: Major
>             Fix For: main (9.0)
>
>
> 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:
> {noformat}
> 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]}}}}} {noformat}
> Mainly filing this issue for now so that I have something to annotate with AwaitsFix so that it doesn't block my other work.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org