Skip to content
This repository has been archived by the owner on Jun 15, 2018. It is now read-only.

add acceptance tests after tiles are cut #123

Open
kevinkreiser opened this issue Sep 14, 2016 · 0 comments
Open

add acceptance tests after tiles are cut #123

kevinkreiser opened this issue Sep 14, 2016 · 0 comments

Comments

@kevinkreiser
Copy link
Member

after cut_tiles.sh finishes with the valhalla_build_tiles bit we should be ready to do some testing to see if the tiles are any good. lets make a new script which will run the RAD testing scripts and check their output for both success of route computation as well as containing particular items, maybe strings to grep for? we'll need a route test file. we'll need to write some logic to replace the date times with the next tuesday from the time we are running it. we'll also need a file of expected results so we have something to grep for.

if this new script detects something is wrong it should return a non zero error code. this will trigger cut_tiles to not ship these tiles to s3 and all the rest of the stuff it does.

as a temporary measure we should also add a key to attributes.rb that contains an email address to email when the data producer acceptance tests have failed. default it to no value and then add the emailing of failure to the acceptance tests script before returning with non zero.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant