From d1788824b21c08e3ebce4643039b3d9084ba8c0a Mon Sep 17 00:00:00 2001 From: 0xRoy <1997roylee@gmail.com> Date: Fri, 29 May 2026 18:18:17 +0800 Subject: [PATCH] Use fresh ports for database migration count checks --- packages/db/tests/helpers/database-script-helpers.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/db/tests/helpers/database-script-helpers.ts b/packages/db/tests/helpers/database-script-helpers.ts index a3eaa695..c8b010c1 100644 --- a/packages/db/tests/helpers/database-script-helpers.ts +++ b/packages/db/tests/helpers/database-script-helpers.ts @@ -40,6 +40,7 @@ export async function createDatabasePort(): Promise { export async function readMigrationCount(dbPath: string): Promise { const database = await initializeServerDatabase(dbPath, { + port: await createDatabasePort(), runMigrations: false, }); try {