Tests don't run in Windows when the directory has whitespaces
GoogleCodeExporter opened this issue · comments
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
The same happens in Linux.
Original comment by juan.gra...@gmail.com
on 16 Jun 2011 at 9:16
Original comment by tflo...@gmail.com
on 28 Jul 2011 at 9:39
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:
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
I committed the solution to this
Original comment by espinaemmanuel@gmail.com
on 3 Aug 2011 at 12:49
- Changed state: Resolved
Original comment by tflo...@gmail.com
on 9 Oct 2012 at 10:48
- Added labels: Milestone-Release-0.3.0
- Removed labels: Milestone-Release-0.2.1