Solr
  1. Solr
  2. SOLR-6048

Fix asserts for SolrDocument, SolrInputDocument and SolrInputField in SolrTestCaseJ4

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.9, Trunk
    • Component/s: None
    • Labels:
      None

      Description

      SOLR-5265 added these asserts to check equality of SolrDocument, SolrInputDocument and SolrInputField instead of adding a compare method to any of these classes.

      But these are actually compare methods. So we should rename them to compareSolrDocument() etc. and in TestJavaBinCodec fix the usage. Currently in TestJavaBinCodec the backcompat test is broken.

      1. SOLR-6048.patch
        3 kB
        Varun Thacker
      2. SOLR-6048.patch
        2 kB
        Varun Thacker
      3. SOLR-6048.patch
        8 kB
        Varun Thacker

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Noble Paul
              Reporter:
              Varun Thacker
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development