also looking at this
fix: qualify registration expiry across native commit
#75
2 files
+35
-8
| @@ -14,7 +14,10 @@ test('native execution registration guard shares the sole mutation writer and de | ||
| 14 | 14 | const timeout = setTimeout(() => { if (running.exitCode === null) running.kill('SIGKILL') }, 90000) |
| 15 | 15 | try { |
| 16 | 16 | const [code, stdout, stderr] = await Promise.all([running.exited, new Response(running.stdout).text(), new Response(running.stderr).text()]) |
| 17 | const boundaries = stderr.split('\n').filter(line => line.startsWith('REGISTRATION_COMMIT_BOUNDARY ')) | |
| 18 | for (const boundary of boundaries) console.log(boundary) | |
| 17 | 19 | expect(code, `${stdout}\n${stderr}`).toBe(0) |
| 20 | expect(boundaries.length).toBe(4) | |
| 18 | 21 | expect(stdout).toContain('PASS native guarded source registration compatibility, authority, rollback and COMMIT deadlines') |
| 19 | 22 | } |
| 20 | 23 | finally { clearTimeout(timeout) } |