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

DataImportHandler unit tests are very noisy

    XMLWordPrintableJSON

Details

    Description

      Running DataImportHandler unit tests emits a lot of console noise, mainly stacktraces because dataimport.properties can't be written. This makes it hard to scan the output for useful information.

      I'm attaching a patch to get rid of most of the noise by creating the conf directory before test runs so that the properties file write doesn't fail.

      Attachments

        1. SOLR-2367.patch
          2 kB
          Robert Muir
        2. SOLR-2367.patch
          3 kB
          Gunnlaugur Thor Briem
        3. SOLR-2367-extend-SolrException.patch
          2 kB
          Gunnlaugur Thor Briem
        4. SOLR-2367-log-exceptions-through-SolrException.patch
          6 kB
          Gunnlaugur Thor Briem

        Activity

          People

            rcmuir Robert Muir
            gthb Gunnlaugur Thor Briem
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified