[
https://issues.apache.org/jira/browse/BIGTOP-736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Erick Erickson updated BIGTOP-736:
----------------------------------
Attachment: TestSimple.groovy
I built and installed Solr from Bigtop after applying the patch (BIGTOP-723) in
an Ubuntu VM (VirtualBox). The attached SimpleTest.groovy script that ran just
fine. I verified that assertions happen (try the -x option).
There's also a -v option to see some output as tests go by.
I admit I'm surprised that I didn't have do to things like set the classpath.
Is this BigTop magic? Or does the test really need to be written in pure Java?
Let me know if I need to make it run in Java.
So, after talking with Roman, I think I'm done here until this gets worked into
iTest etc. These tests are completely and utterly trivial, and this one in
particular is hacked up just to run outside of junit as a simple groovy script.
It's no more than a place to start, I expect that we'll totally replace it once
it gets a home in the "real" system.
> When Solr is integrated, we'll need some tests.
> -----------------------------------------------
>
> Key: BIGTOP-736
> URL: https://issues.apache.org/jira/browse/BIGTOP-736
> Project: Bigtop
> Issue Type: Sub-task
> Components: Tests
> Reporter: Erick Erickson
> Priority: Minor
> Attachments: solr_tests.zip, TestSimple.groovy
>
>
> I've put together some tests as a skeletal place to start with Solr tests.
> I'll add a zip file in a few minutes. They do a really simple ping, one
> indexes a few documents and searches, and one verifies that we can get to the
> filterCache statistics.
> This is very preliminary. The zipped up tests run against a locally-built
> Solr, NOT the one that will be packaged with BigTop. And I haven't a clue how
> to integrate them with the actual package, (any hints welcome). This is meant
> as a starting place.
> Of course to be done for real we'll need to create an actual patch, but I'm
> guessing we'll need to sequence that after the base Solr gets into the
> packaging, the zip file is meant as a record to build upon when we actually
> get this all together.
--
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