Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
+14
@@ -0,0 +1,14 @@
|
||||
// @vitest-environment node
|
||||
import fs from "node:fs";
|
||||
|
||||
import { describe, expect, it } from "vitest";
|
||||
|
||||
describe("SHK first-steps migration fixture", () => {
|
||||
it("waits for the final TCP PostgreSQL server with bounded cold-start headroom", () => {
|
||||
const source = fs.readFileSync(new URL("./verify-shk-first-steps-migration.sh", import.meta.url), "utf8");
|
||||
|
||||
expect(source).toMatch(/for attempt in \$\(seq 1 90\)/u);
|
||||
expect(source).toMatch(/pg_isready -h 127\.0\.0\.1 -U "\$POSTGRES_USER" -d "\$POSTGRES_DB"/u);
|
||||
expect(source).toMatch(/if \[\[ "\$attempt" == "90" \]\]/u);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user