techact / solrmeter

Automatically exported from code.google.com/p/solrmeter
0 stars 0 forks source link

Tests don't run in Windows when the directory has whitespaces #80

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download Solr code on a windows directory with whitespaces. 
2. run the command "mvn clean test"

What is the expected output? 
SUCCESS

What do you see instead?
Results :

Failed tests:
  testSingleDoc(com.plugtree.solrmeter.extractor.FileInputDocumentExtractorTestCase)
  testManyDocs(com.plugtree.solrmeter.extractor.FileInputDocumentExtractorTestCase)
  testLoadDocuments(com.plugtree.solrmeter.extractor.FileInputDocumentExtractorTestCase)
  testScapedChars(com.plugtree.solrmeter.extractor.FileInputDocumentExtractorTestCase)
  testExtraxt(com.plugtree.solrmeter.extractor.FileStringExtractorTestCase)
  testRandomQuery(com.plugtree.solrmeter.extractor.FileStringExtractorTestCase)

Tests in error:
  testImport(com.plugtree.solrmeter.SolrMeterConfigurationTestCase)

Tests run: 105, Failures: 6, Errors: 1, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Original issue reported on code.google.com by tflo...@gmail.com on 16 Jun 2011 at 9:14

GoogleCodeExporter commented 8 years ago
The same happens in Linux.

Original comment by juan.gra...@gmail.com on 16 Jun 2011 at 9:16

GoogleCodeExporter commented 8 years ago

Original comment by tflo...@gmail.com on 28 Jul 2011 at 9:39

GoogleCodeExporter commented 8 years ago
I attach a patch tested only in windows. It needs to be tested in Linux.

Original comment by espinaemmanuel@gmail.com on 2 Aug 2011 at 8:00

Attachments:

GoogleCodeExporter commented 8 years ago
Great Emmanuel, I tried this on Linux and works good. Feel free to commit it 
and mark the issue as resolved.

Original comment by tflo...@gmail.com on 2 Aug 2011 at 8:28

GoogleCodeExporter commented 8 years ago
I committed the solution to this

Original comment by espinaemmanuel@gmail.com on 3 Aug 2011 at 12:49

GoogleCodeExporter commented 8 years ago

Original comment by tflo...@gmail.com on 9 Oct 2012 at 10:48