This commit is contained in:
Antoine Legrand 2017-07-14 10:28:19 +02:00
parent 35f947376b
commit b58f029f83
3 changed files with 65 additions and 1 deletions

View file

@ -97,6 +97,22 @@ local jobs = {
'yarn test'
] },
// Integration API
local integration_test = baseJob.EndToEndTest {
stage: stages.unit_tests
},
'demo_e2e': integration_test {
script: [
"python initdb.py",
"sleep 30",
"curl localhost:80/cnr/version",
"sleep 30",
"curl localhost:80",
"sleep 30",
"curl localhost:80/status",
]
},
// Unit-tests with real databases
local db_stage = { stage: stages.unit_tests },
local dbname = 'quay',