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

[Patch] Get Test Solr Server working in Windows environment

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • clients - ruby - flare
    • None
    • Windows XP Home

    Description

      Because Windows does not support forking processes I created a patch that uses the Win32 api to create and destroy a process to control the test solr server.

      I have attached two files: 1) the patch and 2) the results from running 'rake test' In my environment I have two failures.

      My approach was to still support the including/requiring of the single file test/functional/test_solr_server.rb and have it further require the platform dependent start/stop api.

      Attachments

        1. win32_functional_tests.patch
          5 kB
          Mel Riffe
        2. win32_functional_tests.results
          2 kB
          Mel Riffe

        Activity

          People

            Unassigned Unassigned
            mriffe Mel Riffe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: