test_e2e
This commit is contained in:
parent
35f947376b
commit
b58f029f83
3 changed files with 65 additions and 1 deletions
|
@ -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',
|
||||
|
|
Reference in a new issue