You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alexandre Rafalovitch (JIRA)" <ji...@apache.org> on 2018/07/05 21:13:00 UTC

[jira] [Closed] (SOLR-97) Rakefile now supports functional and unit tests

     [ https://issues.apache.org/jira/browse/SOLR-97?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexandre Rafalovitch closed SOLR-97.
-------------------------------------

> Rakefile now supports functional and unit tests
> -----------------------------------------------
>
>                 Key: SOLR-97
>                 URL: https://issues.apache.org/jira/browse/SOLR-97
>             Project: Solr
>          Issue Type: Improvement
>          Components: clients - ruby - flare
>         Environment: Darwin frizz 8.8.1 Darwin Kernel Version 8.8.1: Mon Sep 25 19:42:00 PDT 2006; root:xnu-792.13.8.obj~1/RELEASE_I386 i386 i386
>            Reporter: Ed Summers
>            Assignee: Erik Hatcher
>            Priority: Major
>         Attachments: split_out_tests.patch
>
>
> This patch includes modifications to support both functional and unit tests split out into separate directories like RoR. The test server activation was converted from two independent functions into a singleton class with start() and stop() methods.
> The functional tests have been wrapped with a ensure clause so that the solr test server will always be shut down--even if an exception was tossed during testing.
> By default the solr test server will not log startup messages to STDERR, however if it's desirable to see these you can:
>    rake SOLR_CONSOLE=true



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org