Files
Michał Pierzchała 9fc266351f fix: stabilize Replay Nightly fixture boundaries (#1610)
* fix: stabilize replay nightly fixture boundaries

* test: stabilize exit flush integration coverage

* chore: drop the deleted exit-naive fixture from fallow's entry list (#1610 review P3)
2026-08-05 12:43:55 +02:00

10 lines
372 B
TypeScript

// Large payload for the #1596 exit-flush fixture, ending with a marker that
// proves the whole write reached the parent process.
export const PAYLOAD_MARKER = 'EXIT_PAYLOAD_END_MARKER';
const PAYLOAD_BYTES = 200_000;
export function buildPayload(): string {
const body = 'x'.repeat(PAYLOAD_BYTES - PAYLOAD_MARKER.length - 1);
return `${body}${PAYLOAD_MARKER}\n`;
}