asu-ke-web-services / search-api

Search API for documents, data, research, people, etc
MIT License
2 stars 1 forks source link

Ken's integration test for SolrSearch with test Solr server #86

Closed kenprice closed 8 years ago

kenprice commented 8 years ago

Set of integration tests that verifies that SolrSearch's query plays well with an actual Solr server.

idmontie commented 8 years ago

Just a quick question, are there steps to set up a solr server documented anywhere?

kenprice commented 8 years ago

@idmontie Yes, in this wiki entry I detail how the Solr test server should be set up. However! The actual test data to be committed to the Solr core isn't in the wiki. I have a script locally to repeatedly curl Jillian's test server to populate it with some docs. I will need to think of a way to easily reproduce the state of the test server.

idmontie commented 8 years ago

Great thanks @kenprice. One thing you can do is just add that sort script to a new folder at the root of the project. Maybe something like /setup/solr-setup.sh or something.

kenprice commented 8 years ago

@idmontie If everything else is ok, can you merge & close? This way there's at least one integration test in develop. I can have the setup and test data stuff in my next PR.

rraub commented 8 years ago

We can set custom variables in travis-ci however I think you need admin rights for the repo to do it. I personally think its fine for the default/example config to work in travis. Yeah we can merge this one in and wait to add the solr-setup.sh stuff in another PR.