-
Notifications
You must be signed in to change notification settings - Fork 478
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Refactor Solr/ES scripts + docs #1403
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1403 +/- ##
=========================================
Coverage 54.72% 54.72%
Complexity 853 853
=========================================
Files 148 148
Lines 8591 8591
Branches 1217 1217
=========================================
Hits 4701 4701
Misses 3495 3495
Partials 395 395 Continue to review full report at Codecov.
|
@adamyy can you take a quick look also, since you recently ran these experiments. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, seems like everything is in order
try: | ||
response = requests.get('http://localhost:8983/') | ||
response.raise_for_status() | ||
except: return False | ||
else: return True | ||
except requests.exceptions.RequestException: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's no other exception that could be raised here? (and elsewhere)
@shaneding can you do a CR for me here also? Don't need to run the commands (I have), but at least sanity check to make sure I didn't screw up anything obvious.