Solr
  1. Solr
  2. SOLR-1608

Make it easy to write distributed search test cases

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5, 3.1, 4.0-ALPHA
    • Component/s: None
    • Labels:
      None

      Description

      Extract base class from TestDistributedSearch to make it easier for people to write test cases for distributed components.

      1. SOLR-1608.patch
        32 kB
        Shalin Shekhar Mangar
      2. SOLR-1608.patch
        32 kB
        Shalin Shekhar Mangar
      3. SOLR-1608.patch
        32 kB
        Shalin Shekhar Mangar

        Issue Links

          Activity

          Hide
          Shalin Shekhar Mangar added a comment -

          Created AbstractDistributedSearchTest and modified TestDistributedSearch accordingly.

          Sub-classes will need to implement doTest method. Creation of jettys and cleanup will be handled by base class. The solrconfig/schema cannot be changed right now.

          Show
          Shalin Shekhar Mangar added a comment - Created AbstractDistributedSearchTest and modified TestDistributedSearch accordingly. Sub-classes will need to implement doTest method. Creation of jettys and cleanup will be handled by base class. The solrconfig/schema cannot be changed right now.
          Hide
          Mark Miller added a comment -

          Have to rename AbstractDistributedSearchTest right? Perhaps AbstractDistributedSearchTestCase? Else ant will try and run it.

          Show
          Mark Miller added a comment - Have to rename AbstractDistributedSearchTest right? Perhaps AbstractDistributedSearchTestCase? Else ant will try and run it.
          Hide
          Shalin Shekhar Mangar added a comment -

          Yes, I'm developing this in tandem with SOLR-785 and I've an updated patch which I'll post soon.

          Show
          Shalin Shekhar Mangar added a comment - Yes, I'm developing this in tandem with SOLR-785 and I've an updated patch which I'll post soon.
          Hide
          Shalin Shekhar Mangar added a comment -

          Renamed to BaseDistributedSearchTestCase

          Show
          Shalin Shekhar Mangar added a comment - Renamed to BaseDistributedSearchTestCase
          Hide
          Shalin Shekhar Mangar added a comment -

          Removed an extra log statement I had added for debugging.

          I'll commit this shortly.

          Show
          Shalin Shekhar Mangar added a comment - Removed an extra log statement I had added for debugging. I'll commit this shortly.
          Hide
          Shalin Shekhar Mangar added a comment -

          Committed revision 888115.

          Show
          Shalin Shekhar Mangar added a comment - Committed revision 888115.
          Hide
          Hoss Man added a comment -

          Correcting Fix Version based on CHANGES.txt, see this thread for more details...

          http://mail-archives.apache.org/mod_mbox/lucene-dev/201005.mbox/%3Calpine.DEB.1.10.1005251052040.24672@radix.cryptio.net%3E

          Show
          Hoss Man added a comment - Correcting Fix Version based on CHANGES.txt, see this thread for more details... http://mail-archives.apache.org/mod_mbox/lucene-dev/201005.mbox/%3Calpine.DEB.1.10.1005251052040.24672@radix.cryptio.net%3E
          Hide
          Grant Ingersoll added a comment -

          Bulk close for 3.1.0 release

          Show
          Grant Ingersoll added a comment - Bulk close for 3.1.0 release

            People

            • Assignee:
              Shalin Shekhar Mangar
              Reporter:
              Shalin Shekhar Mangar
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development