mirror of
https://github.com/morluto/rea.git
synced 2026-10-26 17:35:11 +00:00
test(ghidra): distinguish descriptor failure origin from callback tagging
This commit is contained in:
1 parent
c765b3b413
commit
b7c1d79da3
1 file changed
+3
-1
@@ -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