fix(tests): Increase timeout for graceful BullMQ worker shutdown in E2E tests

This commit is contained in:
Timothy Atapagra 2025-10-09 12:28:23 -04:00
parent 55edf9c566
commit 56156fe54b
6 changed files with 6 additions and 6 deletions

View file

@ -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 () => {

View file

@ -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())

View file

@ -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 () => {

View file

@ -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,

View file

@ -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())

View file

@ -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,