fix(gateway): handle SIGTERM shutdown cleanly
This commit is contained in:
1 parent
c86cb4e9a5
commit
8fb3aef917
6 files changed
+72
-7
No files matched your search
@@ -157,7 +157,10 @@ describe("gateway server", () => {
|
||||
},
|
||||
}),
|
||||
);
|
||||
await onceMessage(ws, (o) => o.type === "res" && o.id === "agent-last-stale");
|
||||
await onceMessage(
|
||||
ws,
|
||||
(o) => o.type === "res" && o.id === "agent-last-stale",
|
||||
);
|
||||
|
||||
const spy = vi.mocked(agentCommand);
|
||||
expect(spy).toHaveBeenCalled();
|
||||
|
||||
Reference in new issue
Block a user