Skip to content

Commit

Permalink
Remove solr_core. Seems this is specific to our solr config.
Browse files Browse the repository at this point in the history
  • Loading branch information
tisto committed Feb 23, 2016
1 parent 52e4bba commit 2f48ca3
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/collective/solr/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ def __init__(
module=None,
solr_host='localhost',
solr_port=8983,
solr_base='/solr',
solr_core='collection1'):
solr_base='/solr'):
super(SolrLayer, self).__init__(bases, name, module)
self.solr_host = solr_host
self.solr_port = solr_port
Expand All @@ -49,7 +48,6 @@ def __init__(
solr_port,
solr_base
)
self.solr_core = solr_core

def setUp(self):
"""Start Solr and poll until it is up and running.
Expand All @@ -61,10 +59,7 @@ def setUp(self):
cwd=BIN_DIR
)
# Poll Solr until it is up and running
solr_ping_url = '{0}/{1}/admin/ping'.format(
self.solr_url,
self.solr_core
)
solr_ping_url = '{0}/admin/ping'.format(self.solr_url)
for i in range(1, 10):
try:
result = urllib2.urlopen(solr_ping_url)
Expand Down

0 comments on commit 2f48ca3

Please sign in to comment.