From d0cf0032f52fb5c078b53abd191f886556b1065d Mon Sep 17 00:00:00 2001 From: KingKDot Date: Thu, 30 Jul 2026 15:17:12 -0500 Subject: [PATCH] fucking slow ass github action machines can't do jack shit --- Overlord-Server/src/server/server-backup.test.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Overlord-Server/src/server/server-backup.test.ts b/Overlord-Server/src/server/server-backup.test.ts index 0246a27..247a39c 100644 --- a/Overlord-Server/src/server/server-backup.test.ts +++ b/Overlord-Server/src/server/server-backup.test.ts @@ -14,6 +14,7 @@ import { } from "./server-backup"; const roots: string[] = []; +const BACKUP_INTEGRATION_TIMEOUT_MS = 15_000; function tempRoot(label: string): string { const root = mkdtempSync(path.join(tmpdir(), label)); @@ -110,7 +111,7 @@ describe("portable server backup", () => { }); restoredDatabase.close(); expect(applyPendingServerRestore(destination)).toBe(false); - }); + }, BACKUP_INTEGRATION_TIMEOUT_MS); test("rejects a modified archive before staging any restore", async () => { const source = pathsAt(tempRoot("overlord-backup-tamper-source-")); @@ -170,5 +171,5 @@ describe("portable server backup", () => { expect(() => stagePortableServerRestore(unsafeZip.toBuffer(), destination, "3.0.0")).toThrow(); expect(existsSync(path.join(path.dirname(destination.dataDir), "outside.txt"))).toBe(false); expect(existsSync(path.join(destination.dataDir, ".pending-server-restore.json"))).toBe(false); - }); + }, BACKUP_INTEGRATION_TIMEOUT_MS); });