You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jason Gerlowski (JIRA)" <ji...@apache.org> on 2018/02/09 23:45:00 UTC
[jira] [Commented] (SOLR-11749) regression-test-like functionality
for bin/solr*
[ https://issues.apache.org/jira/browse/SOLR-11749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16359111#comment-16359111 ]
Jason Gerlowski commented on SOLR-11749:
----------------------------------------
I'm a big fan of this as an idea. I've been toying with some bin/solr changes recently, but the lack of tests has been a real burden. Conceivably if we get a good suite of tests here, we could even hook them into {{ant test}} so it runs as a part of ant command most people run.
The only downside is that having these tests in bash/batch means we'll need two copies of the same test-logic (one in bash, one in Windows batch script). Not sure of a way around that. Technically the logic could be in Java, but it'd be full of a bunch of {{isWindows}}/{{isLinux}} conditionals, which wouldn't be much better. Just thinking aloud here...
Anyways, if you don't mind, I'll add a few example tests to the minimal start you attached above, and see what we can learn from that.
> regression-test-like functionality for bin/solr*
> ------------------------------------------------
>
> Key: SOLR-11749
> URL: https://issues.apache.org/jira/browse/SOLR-11749
> Project: Solr
> Issue Type: Wish
> Security Level: Public(Default Security Level. Issues are Public)
> Components: scripts and tools
> Reporter: Christine Poerschke
> Priority: Minor
> Attachments: SOLR-11749.patch
>
>
--
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