-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
The following two component-model async tests fail on the current (Sept 28) dev release:
The problem seems to be that the call to waitable-set.wait on line 51 which is defined without cancellable set (on line 64) returns the TASK_CANCELLED code (= 6) when subtask.cancel is called on line 144. Instead, I believe that, since the subtask isn't cancellable, subtask.cancel should immediately return the BLOCKED code (= -1).
The problem seems to be that $consume_cb (defined on line 147) is called with $event_code = STREAM_WRITE (= 3) instead of the expected STREAM_READ (= 2) for the stream.read issued on line 139. Additionally, the $index isn't $insr (= 2), which was passed to stream.read; it's 3. Maybe there's a mixup between the readable and writable ends here?
Metadata
Metadata
Assignees
Labels
Type
Projects
Status