diff --git a/packages/backend/test/e2e/oauth.ts b/packages/backend/test/e2e/oauth.ts index a029a0d4be..a6898561b3 100644 --- a/packages/backend/test/e2e/oauth.ts +++ b/packages/backend/test/e2e/oauth.ts @@ -160,7 +160,7 @@ describe('OAuth', () => { alice = await signup({ username: 'alice' }); bob = await signup({ username: 'bob' }); - fastify = Fastify(); + fastify = Fastify({ forceCloseConnections: true }); fastify.get('/', async (request, reply) => { sender(reply); });