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

Jack Krupansky commented on SOLR-4169:
--------------------------------------

bq. But then what would "unit" tests for Solr be? :)

In the longer-term, heavy use of mocking.

Whatever value Mark finds in the current tests (which is real and significant), 
mocking with a wider range of behavior (including randomized behavior) of 
dependencies would increase the value of Solr testing by orders of magnitude.


Full integration tests certainly do have real value, and a hybrid of some 
mocking and some real dependencies would give the best of both worlds.

                
> The test suite should consistently pass
> ---------------------------------------
>
>                 Key: SOLR-4169
>                 URL: https://issues.apache.org/jira/browse/SOLR-4169
>             Project: Solr
>          Issue Type: Bug
>          Components: Tests
>            Reporter: Robert Muir
>            Priority: Blocker
>             Fix For: 4.1
>
>
> I'm at the end of my rope. 
> Last week I tried to help with this: but its already wednesday and solr tests 
> are 20x worse.
> Users are complaining that they cannot get snapshots and test them, because 
> the tests fail all the time.
> Maven dependencies are wrong, but we never knew, because the tests never 
> succeeded so the validation task hasn't actually run in months.
> I think fixing this situation is a blocker to release: I can't imagine a 
> bigger blocker actually.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to