Skip to content

Commit

Permalink
solr8 use named address and not localhost for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
barmintor committed Dec 11, 2023
1 parent 629e6b3 commit 4a77983
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/templates/blacklight.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ development:
adapter: solr
timeout: 120
test:
url: http://localhost:9983/solr/dcv
url: http://solr:9983/solr/dcv
adapter: solr
timeout: 120
2 changes: 1 addition & 1 deletion config/templates/solr.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ development:
url: http://localhost:8983/solr/dcv
timeout: 120
test:
url: http://localhost:9983/solr/dcv
url: http://solr:9983/solr/dcv
timeout: 120
2 changes: 1 addition & 1 deletion lib/tasks/dcv/docker.rake
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace :dcv do
Timeout.timeout(10, Timeout::Error, 'Timed out during solr startup check.') do
loop do
sleep 0.25
status_code = Net::HTTP.get_response(URI("http://localhost:#{expected_port}/solr/dcv/update?wt=json")).code
status_code = Net::HTTP.get_response(URI("http://127.0.0.1:#{expected_port}/solr/dcv/update?wt=json")).code
break if status_code != '503'
rescue EOFError, Errno::ECONNRESET
next
Expand Down

0 comments on commit 4a77983

Please sign in to comment.