DEV: add "WAIT_FOR_URL" env to smoke test

This allows you to wait up to N seconds for the smoke test url to come up
in some cases you want to kick off the smoke test prior to having the smoke
test env ready to accept connections
This commit is contained in:
Sam Saffron
2019-05-20 17:22:50 +10:00
parent ce89f19250
commit 50e6ee55a9
2 changed files with 25 additions and 4 deletions

View File

@ -1,3 +1,5 @@
/*eslint no-console: "off"*/
const args = process.argv.slice(2);
if (args.length < 1 || args.length > 2) {