Skip to content

Commit 90934d2

Browse files
committed
test(daemon): cover failed owner shutdown summary
1 parent 28ae2b7 commit 90934d2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎packages/daemon/src/server/http/daemon-runtime-bounded-close.test.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ test('a clean close leaves nothing to report and an unfinished one names each pi
121121
...cleanReport,
122122
providerReleases: { completed: [], pending: ['lease-a'], unknown: ['lease-b'] },
123123
requests: { drained: 1, abandoned: 2 },
124+
platformOwners: 'failed',
124125
sessions: { closed: 0, failed: 1 },
125126
plugins: {
126127
disposed: [],
@@ -133,6 +134,7 @@ test('a clean close leaves nothing to report and an unfinished one names each pi
133134

134135
expect(lines).toEqual([
135136
expect.stringContaining('2 request(s) ignored cancellation'),
137+
expect.stringContaining('platform owner shutdown failed'),
136138
expect.stringContaining('plugin stuck was still shutting down'),
137139
expect.stringContaining('plugin broken failed to dispose: refused'),
138140
expect.stringContaining('lease release still pending for lease-a'),

0 commit comments

Comments
 (0)