mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
fix(tests): Increase timeout for graceful BullMQ worker shutdown in E2E tests
This commit is contained in:
parent
55edf9c566
commit
56156fe54b
6 changed files with 6 additions and 6 deletions
|
|
@ -71,7 +71,7 @@ describe('Authentication E2E Tests', () => {
|
|||
|
||||
afterAll(async () => {
|
||||
await app.close()
|
||||
})
|
||||
}, 30000) // 30 second timeout for graceful BullMQ worker shutdown
|
||||
|
||||
describe('POST /api/v2/auth/register', () => {
|
||||
it('should register a new user successfully', async () => {
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ describe('GraphQL Module (e2e)', () => {
|
|||
|
||||
afterAll(async () => {
|
||||
await app.close()
|
||||
})
|
||||
}, 30000) // 30 second timeout for graceful BullMQ worker shutdown
|
||||
|
||||
it('rejects unauthenticated viewer query', async () => {
|
||||
const response = await request(app.getHttpServer())
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ describe('Health E2E Tests', () => {
|
|||
|
||||
afterAll(async () => {
|
||||
await app.close()
|
||||
})
|
||||
}, 30000) // 30 second timeout for graceful BullMQ worker shutdown
|
||||
|
||||
describe('GET /api/v2/health', () => {
|
||||
it('should return basic health status', async () => {
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@ describe('Label E2E Tests', () => {
|
|||
}
|
||||
|
||||
await app.close()
|
||||
})
|
||||
}, 30000) // 30 second timeout for graceful BullMQ worker shutdown
|
||||
|
||||
const executeQuery = async (
|
||||
query: string,
|
||||
|
|
|
|||
|
|
@ -181,7 +181,7 @@ describe('Library GraphQL (e2e)', () => {
|
|||
|
||||
afterAll(async () => {
|
||||
await app.close()
|
||||
})
|
||||
}, 30000) // 30 second timeout for graceful BullMQ worker shutdown
|
||||
|
||||
const executeQuery = (query: string, variables: Record<string, unknown> = {}) =>
|
||||
request(app.getHttpServer())
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ describe('SaveUrl E2E Tests', () => {
|
|||
}
|
||||
|
||||
await app.close()
|
||||
})
|
||||
}, 30000) // 30 second timeout for graceful BullMQ worker shutdown
|
||||
|
||||
const executeQuery = async (
|
||||
query: string,
|
||||
|
|
|
|||
Loading…
Reference in a new issue