mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-23 09:07:46 +02:00
Merge upstream runtime metadata test synchronization
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
commit
0ae6037cf2
1 file changed
+3
-1
@@ -6764,7 +6764,8 @@ describeEmbeddedPostgres("workspace runtime service control persistence", () =>
|
||||
status: "starting",
|
||||
healthStatus: "unknown",
|
||||
});
|
||||
expect(startingRow.providerRef).toMatch(/^\d+$/);
|
||||
// Starting is persisted before the asynchronous spawn metadata write.
|
||||
// The child marker alone does not prove that write has committed.
|
||||
expect(startingRow.port).toEqual(expect.any(Number));
|
||||
|
||||
const services = await startPromise;
|
||||
@@ -6777,6 +6778,7 @@ describeEmbeddedPostgres("workspace runtime service control persistence", () =>
|
||||
|
||||
const runningRow = await waitForPersistedStatus("running");
|
||||
expect(runningRow.id).toBe(startingRow.id);
|
||||
expect(runningRow.providerRef).toMatch(/^\d+$/);
|
||||
await expect(fetch(services[0]!.url!)).resolves.toMatchObject({ ok: true });
|
||||
const runtimeProvisionOperations = await db
|
||||
.select()
|
||||
|
||||
Reference in new issue
Block a user