Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Commit

Permalink
Ensure elasticsearch is cleaned up properly
Browse files Browse the repository at this point in the history
Also, turn of logging for elasticsearch
  • Loading branch information
eedrummer committed Apr 13, 2018
1 parent cf7d3f2 commit eb1c2df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ pipeline {
echo "Destroying test database..."
sh 'oc delete pods,dc,rc,services,secrets -l testdb=${svcname}'
echo "Destroying elasticsearch..."
sh 'oc delete pods,dc,rc,services,secrets -l elastichost=${svcname}'
sh 'oc delete pods,dc,rc,services,secrets -l name=${esname}'
echo "Archiving test artifacts..."
archiveArtifacts artifacts: '**/reports/coverage/*, **/reports/mini_test/*',
fingerprint: true
Expand Down
2 changes: 1 addition & 1 deletion config/settings/test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
default_url_helper_host: "localhost:3000"
elasticsearch:
log: true
log: false
host: <%= ENV['ES_HOST'] || 'http://example.com:9200' %>
adapter: :net_http

0 comments on commit eb1c2df

Please sign in to comment.