mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-02 13:01:34 +00:00
test(plugins): await lifecycle lease child result (#112959)
This commit is contained in:
committed by
GitHub
parent
a229456f48
commit
19fb45d550
@@ -143,7 +143,9 @@ describe("plugin lifecycle lease", () => {
|
||||
await waitForPath(firstMarker);
|
||||
const second = runLeaseChild(childScript, ["second", ...childArgs]);
|
||||
await waitForPath(secondReady);
|
||||
await waitForPath(secondResult);
|
||||
// Wait for the child to close so its result write is fully flushed before
|
||||
// reading; file existence alone can race with the write after open().
|
||||
await second;
|
||||
|
||||
let assertionError: unknown;
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user