lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-2002) improve build/tests
Date Thu, 14 Oct 2010 23:09:32 GMT

    [ https://issues.apache.org/jira/browse/SOLR-2002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921159#action_12921159
] 

Hoss Man commented on SOLR-2002:
--------------------------------

Two things i've noticed recently that are kind of odd (and per robert on IRC, weren't intentional)

1) all of the "temp" files created by tests are now getting created in the same output directory
as the test results (ie:lucene/build/test and solr/build/test-results)  ...

{noformat}
hossman@bester:~/lucene/dev$ ls lucene/build/test/ | head
1
2
3
4
5
6
7
8
TEST-org.apache.lucene.analysis.TestCachingTokenFilter.xml
TEST-org.apache.lucene.analysis.TestCharTokenizers.xml
hossman@bester:~/lucene/dev$ ls lucene/build/test/1 | head
quiet.ant
test1427325378064240227tmp
test2206717657854845874tmp
test2349170826556141314tmp
test2474659255857912171tmp
test2655069444325547827tmp
test3737548537987799034tmp
test5395869393791701784tmp
test5824921577206577644tmp
test5897381366443436559tmp
{noformat}

...these temp dirs should probably go under some other parent dir (either java.io.tmpdir or
some place else in "build") so that it's eaiser to search the test result files w/o getting
stray matches on the tmp files (in particular: i know that the hudson junit plugin and the
ant <junitreport /> tasks both walk every file in those directories, so we should minimize
the amount of extra stuff they have to look at.

2) the Solr tests now seem to be formatted using the "plain text" formatter by default, and
not the xml formatter...

{noformat}
hossman@bester:~/lucene/dev$ ls solr/build/test-results/ | head -5
temp
TEST-org.apache.solr.analysis.EnglishPorterFilterFactoryTest.txt
TEST-org.apache.solr.analysis.TestBrazilianStemFilterFactory.txt
TEST-org.apache.solr.analysis.TestBufferedTokenStream.txt
TEST-org.apache.solr.analysis.TestCapitalizationFilterFactory.txt
{noformat}

..using plain text was always an option before, but now it seems to be the default

> improve build/tests
> -------------------
>
>                 Key: SOLR-2002
>                 URL: https://issues.apache.org/jira/browse/SOLR-2002
>             Project: Solr
>          Issue Type: Task
>          Components: Build
>            Reporter: Robert Muir
>            Assignee: Robert Muir
>            Priority: Minor
>             Fix For: 3.1, 4.0
>
>         Attachments: SOLR-2002.patch, SOLR-2002_core_contrib.patch, SOLR-2002_dih.patch,
SOLR-2002_lbhttpsolrserver.patch, SOLR-2002_localization.patch, SOLR-2002_lucenetestcase.patch,
SOLR-2002_merged.patch, SOLR-2002_merged.patch, SOLR-2002_merged.patch, SOLR-2002_merged.patch,
SOLR-2002_replication.patch, SOLR-2002_testiter.patch, SOLR-2002_testmethod.patch, SOLR-2002_timeout.patch,
SOLR-2002setupteardown.patch
>
>
> we are working on improving some functionality in lucene's build/tests, it would be good
to improve the solr side to take advantage of it.
> currently its only sorta-kinda integrated and a bit messy.
> i'd like to do some incremental improvements piece-by-piece on this issue.

-- 
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message