List Info

Thread: Created: (LUCENE-945) contrib/benchmark tests fail find data dirs




Created: (LUCENE-945) contrib/benchmark tests fail find data dirs
country flaguser name
United States
2007-06-27 00:26:26
contrib/benchmark tests fail find data dirs
-------------------------------------------

                 Key: LUCENE-945
                 URL: http
s://issues.apache.org/jira/browse/LUCENE-945
             Project: Lucene - Java
          Issue Type: Bug
          Components: contrib/benchmark
            Reporter: Doron Cohen
            Assignee: Doron Cohen
            Priority: Minor


This was exposed by LUCENE-940 - a test was added that uses
the Reuters collection. Then tests succeed when ran from
contrib/benchmark (e.g. by IDE) but fail when running as
part of "ant test-contrib" because the test
expects to find the Reuters data under trunk/work. 


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue
online.


------------------------------------------------------------
---------
To unsubscribe, e-mail: java-dev-unsubscribelucene.apache.org
For additional commands, e-mail: java-dev-helplucene.apache.org


Commented: (LUCENE-945) contrib/benchmark tests fail find data dirs
country flaguser name
United States
2007-06-27 00:28:26
    [ https://issues.apache.org/jira/browse/
LUCENE-945?page=com.atlassian.jira.plugin.system.issuetabpan
els:comment-tabpanel#action_12508425 ] 

Doron Cohen commented on LUCENE-945:
------------------------------------

To resolve this:
 - add "work.dir" property to Config, to be set to
the value of system property "benchmark.work.dir",
with default "work". 
 - in common-build.xml define this new property as
${common.dir}/contrib/benchmark/work
 - in all doc makers refer to
config.get("work.dir") rather than current
hard-coded "./work". 

> contrib/benchmark tests fail find data dirs
> -------------------------------------------
>
>                 Key: LUCENE-945
>                 URL: http
s://issues.apache.org/jira/browse/LUCENE-945
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/benchmark
>            Reporter: Doron Cohen
>            Assignee: Doron Cohen
>            Priority: Minor
>
> This was exposed by LUCENE-940 - a test was added that
uses the Reuters collection. Then tests succeed when ran
from contrib/benchmark (e.g. by IDE) but fail when running
as part of "ant test-contrib" because the test
expects to find the Reuters data under trunk/work. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue
online.


------------------------------------------------------------
---------
To unsubscribe, e-mail: java-dev-unsubscribelucene.apache.org
For additional commands, e-mail: java-dev-helplucene.apache.org


Updated: (LUCENE-945) contrib/benchmark tests fail find data dirs
country flaguser name
United States
2007-06-27 01:41:26
     [ https://issues.apache.org/jira/browse/LUCENE-945?page=com.
atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Doron Cohen updated LUCENE-945:
-------------------------------

    Attachment: lucene-945.patch

Patch solving this issue. tested - all tests pass. 
Will commit this soon because currently automated builds are
broken.


> contrib/benchmark tests fail find data dirs
> -------------------------------------------
>
>                 Key: LUCENE-945
>                 URL: http
s://issues.apache.org/jira/browse/LUCENE-945
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/benchmark
>            Reporter: Doron Cohen
>            Assignee: Doron Cohen
>            Priority: Minor
>         Attachments: lucene-945.patch
>
>
> This was exposed by LUCENE-940 - a test was added that
uses the Reuters collection. Then tests succeed when ran
from contrib/benchmark (e.g. by IDE) but fail when running
as part of "ant test-contrib" because the test
expects to find the Reuters data under trunk/work. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue
online.


------------------------------------------------------------
---------
To unsubscribe, e-mail: java-dev-unsubscribelucene.apache.org
For additional commands, e-mail: java-dev-helplucene.apache.org


Resolved: (LUCENE-945) contrib/benchmark tests fail find data dirs
country flaguser name
United States
2007-06-27 02:56:26
     [ https://issues.apache.org/jira/browse/LUCENE-945?page=com.
atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Doron Cohen resolved LUCENE-945.
--------------------------------

       Resolution: Fixed
    Lucene Fields: [Patch Available]  (was: [New])

committed, and now the parabuild test passed...  phew!

> contrib/benchmark tests fail find data dirs
> -------------------------------------------
>
>                 Key: LUCENE-945
>                 URL: http
s://issues.apache.org/jira/browse/LUCENE-945
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/benchmark
>            Reporter: Doron Cohen
>            Assignee: Doron Cohen
>            Priority: Minor
>         Attachments: lucene-945.patch
>
>
> This was exposed by LUCENE-940 - a test was added that
uses the Reuters collection. Then tests succeed when ran
from contrib/benchmark (e.g. by IDE) but fail when running
as part of "ant test-contrib" because the test
expects to find the Reuters data under trunk/work. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue
online.


------------------------------------------------------------
---------
To unsubscribe, e-mail: java-dev-unsubscribelucene.apache.org
For additional commands, e-mail: java-dev-helplucene.apache.org


[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )