Skip to content

Make minor fixes to the Docker testing environment#36

Merged
jthomale merged 2 commits intomasterfrom
fix-docker-test-env
Dec 20, 2017
Merged

Make minor fixes to the Docker testing environment#36
jthomale merged 2 commits intomasterfrom
fix-docker-test-env

Conversation

@jthomale
Copy link
Copy Markdown
Member

@jthomale jthomale commented Dec 20, 2017

I'm starting to write tests for export.Exporter classes, and made a few minor tweaks so that I could get the jobs to actually run in the Docker testing environment. The main functional change was to set the SOLRMARC_CONFIG_FILE for the test and manage-test services in docker-compose.yml. Without that, SolrMarc will try to use the dev config file and use the wrong connection parameters for Solr.

In addition to that, I made a quality-of-life change to make it easier to debug tests that use the testing environment. A logs and a media directory are now mapped to a docker_data volume for tests, like they are for the dev app.

Note: After applying this change-set locally, you'll want to run ./init-dockerdata.sh test to force it to create the new volumes.

@jthomale jthomale merged commit f32af81 into master Dec 20, 2017
@jthomale jthomale deleted the fix-docker-test-env branch December 20, 2017 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant