nhsuk / gp-finder

GP Finder
MIT License
5 stars 1 forks source link

Make sure DB connection is ready before running tests #107

Closed beseven closed 7 years ago

beseven commented 7 years ago

The tests sometimes fail locally the first time around as the DB connection might not be available at that point.

The solution for Redis for consideration: https://github.com/mochajs/mocha/issues/268 https://github.com/perki/readyness

st3v3nhunt commented 7 years ago

Simple bash script e.g. https://raw.githubusercontent.com/nhsuk/gp-finder/5ac65d141052743fff2ca2943c60b1e306588298/scripts/utils

st3v3nhunt commented 7 years ago

Redundant now Elasticsearch is being used.