You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2011/04/14 18:51:06 UTC
[jira] [Created] (SOLR-2468) TestFunctionQuery fails always on
windows
TestFunctionQuery fails always on windows
-----------------------------------------
Key: SOLR-2468
URL: https://issues.apache.org/jira/browse/SOLR-2468
Project: Solr
Issue Type: Bug
Reporter: Robert Muir
NOTE: reproduce with: ant test -Dtestcase=TestFunctionQuery -Dtestmethod=testExternalFieldValueSourceParser -Dtests.seed=1172323467847461017:3327452514993896990
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Updated] (SOLR-2468) TestFunctionQuery fails always on
windows
Posted by "Hoss Man (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hoss Man updated SOLR-2468:
---------------------------
Attachment: SOLR-2468.patch
this is a test i recently added for SOLR-2335, didn't realize some oses would complain about quotes in filenames.
i pulled the test apart to test the two differnet aspects independently, so now the "esoteric file name" testing just relies on being able to support spaces in filenames.
> TestFunctionQuery fails always on windows
> -----------------------------------------
>
> Key: SOLR-2468
> URL: https://issues.apache.org/jira/browse/SOLR-2468
> Project: Solr
> Issue Type: Bug
> Reporter: Robert Muir
> Attachments: SOLR-2468.patch
>
>
> NOTE: reproduce with: ant test -Dtestcase=TestFunctionQuery -Dtestmethod=testExternalFieldValueSourceParser -Dtests.seed=1172323467847461017:3327452514993896990
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Resolved] (SOLR-2468) TestFunctionQuery fails always on
windows
Posted by "Hoss Man (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hoss Man resolved SOLR-2468.
----------------------------
Resolution: Fixed
Assignee: Hoss Man
Committed revision 1092451.
> TestFunctionQuery fails always on windows
> -----------------------------------------
>
> Key: SOLR-2468
> URL: https://issues.apache.org/jira/browse/SOLR-2468
> Project: Solr
> Issue Type: Bug
> Reporter: Robert Muir
> Assignee: Hoss Man
> Attachments: SOLR-2468.patch
>
>
> NOTE: reproduce with: ant test -Dtestcase=TestFunctionQuery -Dtestmethod=testExternalFieldValueSourceParser -Dtests.seed=1172323467847461017:3327452514993896990
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (SOLR-2468) TestFunctionQuery fails always on
windows
Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13019906#comment-13019906 ]
Robert Muir commented on SOLR-2468:
-----------------------------------
{noformat}
[junit] ------------- Standard Error -----------------
[junit] NOTE: reproduce with: ant test -Dtestcase=TestFunctionQuery -Dtestmethod=testExternalFieldValueSourceParser -Dtests.seed=1172323467847461017:3327452
514993896990
[junit] NOTE: test params are: codec=PreFlex, locale=hr, timezone=America/Argentina/La_Rioja
[junit] NOTE: all tests run in this JVM:
[junit] [TestFunctionQuery]
[junit] NOTE: Windows Vista 6.0 x86/Sun Microsystems Inc. 1.6.0_23 (32-bit)/cpus=4,threads=1,free=10225608,total=16252928
[junit] ------------- ---------------- ---------------
[junit] Testcase: testExternalFieldValueSourceParser(org.apache.solr.search.function.TestFunctionQuery): Caused an ERROR
[junit] java.io.FileNotFoundException: C:\Users\rmuir\workspace\lucene-trunk\solr\build\test-results\temp\1\solrtest-TestFunctionQuery-1302799686658\exte
rnal_CoMpleX " fieldName _extf.1302799686550 (The filename, directory name, or volume label syntax is incorrect)
[junit] java.lang.RuntimeException: java.io.FileNotFoundException: C:\Users\rmuir\workspace\lucene-trunk\solr\build\test-results\temp\1\solrtest-TestFunc
tionQuery-1302799686658\external_CoMpleX " fieldName _extf.1302799686550 (The filename, directory name, or volume label syntax is incorrect)
[junit] at org.apache.solr.search.function.TestFunctionQuery.makeExternalFile(TestFunctionQuery.java:56)
[junit] at org.apache.solr.search.function.TestFunctionQuery.testExternalFieldValueSourceParser(TestFunctionQuery.java:536)
[junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1232)
[junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1160)
[junit] Caused by: java.io.FileNotFoundException: C:\Users\rmuir\workspace\lucene-trunk\solr\build\test-results\temp\1\solrtest-TestFunctionQuery-1302799
686658\external_CoMpleX " fieldName _extf.1302799686550 (The filename, directory name, or volume label syntax is incorrect)
[junit] at java.io.FileOutputStream.open(Native Method)
[junit] at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
[junit] at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
[junit] at org.apache.solr.search.function.TestFunctionQuery.makeExternalFile(TestFunctionQuery.java:52)
[junit]
{noformat}
> TestFunctionQuery fails always on windows
> -----------------------------------------
>
> Key: SOLR-2468
> URL: https://issues.apache.org/jira/browse/SOLR-2468
> Project: Solr
> Issue Type: Bug
> Reporter: Robert Muir
>
> NOTE: reproduce with: ant test -Dtestcase=TestFunctionQuery -Dtestmethod=testExternalFieldValueSourceParser -Dtests.seed=1172323467847461017:3327452514993896990
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (SOLR-2468) TestFunctionQuery fails always on
windows
Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13019913#comment-13019913 ]
Robert Muir commented on SOLR-2468:
-----------------------------------
just at a glance, it appears the test tries to create a file with a double quote in it. On some platforms such as windows, you cannot use certain characters in a filename... I think this is the problem?
> TestFunctionQuery fails always on windows
> -----------------------------------------
>
> Key: SOLR-2468
> URL: https://issues.apache.org/jira/browse/SOLR-2468
> Project: Solr
> Issue Type: Bug
> Reporter: Robert Muir
>
> NOTE: reproduce with: ant test -Dtestcase=TestFunctionQuery -Dtestmethod=testExternalFieldValueSourceParser -Dtests.seed=1172323467847461017:3327452514993896990
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (SOLR-2468) TestFunctionQuery fails always on
windows
Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13019993#comment-13019993 ]
Robert Muir commented on SOLR-2468:
-----------------------------------
+1
> TestFunctionQuery fails always on windows
> -----------------------------------------
>
> Key: SOLR-2468
> URL: https://issues.apache.org/jira/browse/SOLR-2468
> Project: Solr
> Issue Type: Bug
> Reporter: Robert Muir
> Attachments: SOLR-2468.patch
>
>
> NOTE: reproduce with: ant test -Dtestcase=TestFunctionQuery -Dtestmethod=testExternalFieldValueSourceParser -Dtests.seed=1172323467847461017:3327452514993896990
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org