test: stabilize gateway server shard (#77131)

This commit is contained in:
Alex Knight
2026-05-04 18:42:05 +10:00
committed by GitHub
parent a9282f3571
commit be41b8cbc7
5 changed files with 63 additions and 7 deletions

View File

@@ -20,6 +20,9 @@ export function createGatewayServerVitestConfig(env?: Record<string, string | un
"src/gateway/server.startup-matrix-migration.integration.test.ts",
"src/gateway/sessions-history-http.test.ts",
],
// Gateway server suites share process-level env, logger, and server helper state.
// Isolate files so parallel shards cannot cross-wire suite-scoped servers.
isolate: true,
name: "gateway-server",
},
);