Solr
  1. Solr
  2. SOLR-3345

BaseDistributedSearchTestCase should always ignore QTime

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 4.0-ALPHA
    • Fix Version/s: None
    • Component/s: SolrCloud
    • Labels:
      None

      Description

      The existing subclasses of BaseDistributedSearchTestCase all skip QTime. I can't see any way in which those numbers will ever match. Why not make this the default, or only, behavior?

      (This is really a question, in that I will provide a patch if no one tells me that it is a bad idea.)

        Activity

        Hide
        Chris Russell added a comment -

        I was just trying to write a new unit test and I ran into this. junit.framework.AssertionFailedError: .responseHeader.QTime:40!=84
        D:

        Show
        Chris Russell added a comment - I was just trying to write a new unit test and I ran into this. junit.framework.AssertionFailedError: .responseHeader.QTime:40!=84 D:
        Hide
        Mark Miller added a comment -

        +1

        Show
        Mark Miller added a comment - +1
        Hide
        Tommaso Teofili added a comment -

        it sounds reasonable to me making that the default for BaseDistributedSearchTestCase

        Show
        Tommaso Teofili added a comment - it sounds reasonable to me making that the default for BaseDistributedSearchTestCase
        Benson Margulies created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Benson Margulies
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:

              Development