fixes tests for QA

This commit is contained in:
heafalan
2019-08-09 12:58:01 +02:00
parent 1745d61c1d
commit ced02de429
3 changed files with 3 additions and 2 deletions

View File

@@ -15,6 +15,7 @@
[templates]
default = ''
templateWithoutDisks = ''
[srs]
default = ''

View File

@@ -229,7 +229,7 @@ describe('backupNg', () => {
const vmIdWithoutDisks = await xo.createTempVm({
name_label: 'XO Test Without Disks',
name_description: 'Creating a vm without disks',
template: config.templates.default,
template: config.templates.templateWithoutDisks,
})
const scheduleTempId = randomId()

View File

@@ -209,7 +209,7 @@ describe('job', () => {
})
it('runs a job', async () => {
jest.setTimeout(7e3)
jest.setTimeout(7e4)
await xo.createTempServer(config.servers.default)
const jobId = await xo.createTempJob(defaultJob)
const snapshots = xo.objects.all[config.vms.default].snapshots