mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-17 21:03:06 +00:00
test(C234): dá 30s ao teste de bootstrap da CLI de índice (spawn do Payload no CI)
Some checks are pending
Deploy / preflight (push) Waiting to run
Deploy / verify (push) Blocked by required conditions
Deploy / deploy staging (teqo-staging) (push) Blocked by required conditions
Deploy / requeue when main advanced (push) Blocked by required conditions
Deploy / deploy production (teqo-1313) (push) Blocked by required conditions
Some checks are pending
Deploy / preflight (push) Waiting to run
Deploy / verify (push) Blocked by required conditions
Deploy / deploy staging (teqo-staging) (push) Blocked by required conditions
Deploy / requeue when main advanced (push) Blocked by required conditions
Deploy / deploy production (teqo-1313) (push) Blocked by required conditions
This commit is contained in:
parent
a6e68b1b97
commit
bbcd1402dc
1 changed files with 13 additions and 17 deletions
|
|
@ -123,22 +123,18 @@ describe('faces:index write guards (C234)', () => {
|
||||||
expect(output(result)).toContain('S3_BUCKET')
|
expect(output(result)).toContain('S3_BUCKET')
|
||||||
})
|
})
|
||||||
|
|
||||||
it(
|
it('reaches the payload bootstrap with the complete target declared', () => {
|
||||||
'reaches the payload bootstrap with the complete target declared',
|
const result = run(indexScript, ['--apply'], {
|
||||||
() => {
|
FACE_INDEX_CONFIRM: '1',
|
||||||
const result = run(indexScript, ['--apply'], {
|
TEQO_ENV: 'production',
|
||||||
FACE_INDEX_CONFIRM: '1',
|
...withS3,
|
||||||
TEQO_ENV: 'production',
|
})
|
||||||
...withS3,
|
|
||||||
})
|
|
||||||
|
|
||||||
// No production database here: the run must fail while connecting (or
|
// No production database here: the run must fail while connecting (or
|
||||||
// right after), never with one of the write guards. The spawn boots
|
// right after), never with one of the write guards. The spawn boots
|
||||||
// Payload, so the unit default (5s) is not enough on CI runners.
|
// Payload, so the unit default (5s) is not enough on CI runners.
|
||||||
expect(result.status).toBe(1)
|
expect(result.status).toBe(1)
|
||||||
expect(output(result)).not.toContain('FACE_INDEX_CONFIRM=1')
|
expect(output(result)).not.toContain('FACE_INDEX_CONFIRM=1')
|
||||||
expect(output(result)).not.toContain('TEQO_ENV=')
|
expect(output(result)).not.toContain('TEQO_ENV=')
|
||||||
},
|
}, 30_000)
|
||||||
30_000,
|
|
||||||
)
|
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue