mirror of
https://github.com/morluto/rea
synced 2026-10-25 22:08:11 -04:00
test(ghidra): distinguish descriptor failure origin from callback tagging
This commit is contained in:
@@ -195,8 +195,10 @@ it.skipIf(process.platform === "win32").each(["released", "failed"] as const)(
|
||||
throw new Error("Expected the retained endpoint descriptor owner");
|
||||
expect(endpointCause.reason).toBe("io");
|
||||
expect(endpointCause.cancellation).toBeUndefined();
|
||||
// The descriptor reader retains native EIO directly, without an opaque
|
||||
// callback marker; the wrapper still owns the failed operation and close.
|
||||
expect(artifactFilePrimaryFacts(endpointCause).origin).toBe(
|
||||
"opaque-operation",
|
||||
"owned-or-classified",
|
||||
);
|
||||
expect(endpointCause.fileCleanupFailure.owner.handle).toBe(
|
||||
fault.handles[0],
|
||||
|
||||
Reference in New Issue
Block a user