Skip to content
This repository has been archived by the owner on Nov 26, 2019. It is now read-only.

(DO NOT MERGE) Solr wrapper test fix #1153

Closed
wants to merge 1 commit into from

Conversation

eddierubeiz
Copy link
Contributor

@eddierubeiz eddierubeiz commented Sep 7, 2018

Monkey patch to incorporate cbeer/solr_wrapper@eaab9cd into our code until/unless solr_wrapper incorporates it.
(We can also simply not use the Princeton mirror for a bit, or just set validate: false in the SOLR yaml ).

@@ -11,6 +11,7 @@ collection:
dir: solr/config
name: hydra-test
version: 6.3.0
# validate: false # until solr_wrapper stops hardwiring the checksum URL
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is commented out, you still want to put it in there commented out?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be commented out, yes, but the comment is misleading. Let me amend the commit using my new git --amend superpowers.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated and off to lunch. BRB

@jrochkind
Copy link
Contributor

Another alternative is simply removing our mirror_url config. It wasn't generally required, only occasionally when apache.org rate-limits travis -- and we discover the mirror_url feature is actually broken in solr_wrapper. Although we can apparently fix it with this monkey patch.

If we remove the mirror_url, we could spend more time trying to get cbeer to merge/release the fix in solr_wrapper, or convincing others that we should fork it so someone else can.

…ache.org to include in what will be committed
@jrochkind
Copy link
Contributor

I guess we'll do this for now, although honestly it kind of terrifies me.

@jrochkind
Copy link
Contributor

The best alternative would be for the already-existing patches in solr_wrapper to be merged/released. I filed a ticket on solr_wrapper asking if cbeer would consider adding additional committers. cbeer/solr_wrapper#122

@eddierubeiz eddierubeiz changed the title WIP Solr wrapper test fix (DO NOT MERGE) Solr wrapper test fix Sep 11, 2018
@eddierubeiz eddierubeiz closed this Oct 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants