Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
@@ -2,7 +2,7 @@ import { readFileSync } from "node:fs";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import { dirname, resolve } from "node:path";
|
||||
import { describe, expect, test, vi } from "vitest";
|
||||
import { queueNames } from "@toolctrl/queue";
|
||||
import { queueNames } from "@hivegrid/queue";
|
||||
import { buildWorkerHealthReport, runWorkerHealthCli } from "./health.js";
|
||||
|
||||
const packageJsonPath = resolve(dirname(fileURLToPath(import.meta.url)), "../package.json");
|
||||
@@ -101,7 +101,7 @@ describe("worker health", () => {
|
||||
workerEnabled: true,
|
||||
workerGroup: "general",
|
||||
});
|
||||
expect(report.queues).toEqual([queueNames.notifications, queueNames.maintenance, queueNames.fileScan]);
|
||||
expect(report.queues).toEqual([queueNames.notifications, queueNames.maintenance, queueNames.fileScan, queueNames.filePreview]);
|
||||
expect(redisProbe).toHaveBeenCalledWith("redis://localhost:6379/0");
|
||||
expect(databaseProbe).toHaveBeenCalledTimes(1);
|
||||
});
|
||||
@@ -514,7 +514,7 @@ describe("worker health", () => {
|
||||
);
|
||||
|
||||
expect(report.status).toBe("ready");
|
||||
expect(report.queues).toEqual([queueNames.notifications, queueNames.maintenance, queueNames.fileScan]);
|
||||
expect(report.queues).toEqual([queueNames.notifications, queueNames.maintenance, queueNames.fileScan, queueNames.filePreview]);
|
||||
expect(report.storageStatus).toBe("ready");
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user