fix(test): fail missing kitchen sink rss samples

This commit is contained in:
Vincent Koc
2026-05-24 14:44:11 +02:00
parent c7d4e9e1c2
commit a72b11d29a
3 changed files with 6 additions and 1 deletions

View File

@@ -52,4 +52,8 @@ describe("kitchen-sink RPC process sampling", () => {
"gateway RSS exceeded 2048 MiB: 2049 MiB",
);
});
it("fails when process sampling does not capture RSS", () => {
expect(() => assertResourceCeiling(null)).toThrow("gateway RSS sample was not captured");
});
});