SubReceiverSet tests fail on macOS #3

Closed
opened 2025-12-23 16:01:58 +01:00 by glyn · 2 comments
Owner

These failures occurs on macOS at tag v0.0.2:

test mux_test::receiver_set_homogeneous_with_freestanding_subreceiver ... FAILED
test mux_test::receiver_set_heterogeneous_with_freestanding_subreceiver ... FAILED
test mux_test::receiver_sets_with_subreceivers_sharing_ipc_channel has been running for over 60 seconds
These failures occurs on macOS at tag v0.0.2: ~~~ test mux_test::receiver_set_homogeneous_with_freestanding_subreceiver ... FAILED test mux_test::receiver_set_heterogeneous_with_freestanding_subreceiver ... FAILED test mux_test::receiver_sets_with_subreceivers_sharing_ipc_channel has been running for over 60 seconds ~~~
Author
Owner

It seems that the behaviour on macOS means that sometimes a MultiReceiver attempts to use a missing IpcReceiver. Presumably this doesn't happen on Linux because the relevant message(s) happen to have found their way to the relevant standard channel and can be accessed from there rather than needing to call MultiReceiver.

The fix is probably to allow MultiReceiver to either contain an IpcReceiver or refer to a MultiReceiverSet. Then the corresponding functions can be added to MultiReceiverSet and called as needed.

It seems that the behaviour on macOS means that sometimes a MultiReceiver attempts to use a missing IpcReceiver. Presumably this doesn't happen on Linux because the relevant message(s) happen to have found their way to the relevant standard channel and can be accessed from there rather than needing to call MultiReceiver. The fix is probably to allow MultiReceiver to either contain an IpcReceiver or refer to a MultiReceiverSet. Then the corresponding functions can be added to MultiReceiverSet and called as needed.
glyn added this to the router milestone 2025-12-23 18:06:28 +01:00
glyn referenced this issue from a commit 2025-12-29 12:17:51 +01:00
glyn closed this issue 2025-12-30 12:42:32 +01:00
Author
Owner

After making some changes (commit 153db473d4), the test failures have turned into the following hangs:

test mux_test::receiver_set_heterogeneous_with_freestanding_subreceiver has been running for over 60 seconds
test mux_test::receiver_set_homogeneous_with_freestanding_subreceiver has been running for over 60 seconds
test mux_test::receiver_sets_with_subreceivers_sharing_ipc_channel has been running for over 60 seconds
After making some changes (commit 153db473d4356de5ade16d85f9e61522821793d5), the test failures have turned into the following hangs: ~~~ test mux_test::receiver_set_heterogeneous_with_freestanding_subreceiver has been running for over 60 seconds test mux_test::receiver_set_homogeneous_with_freestanding_subreceiver has been running for over 60 seconds test mux_test::receiver_sets_with_subreceivers_sharing_ipc_channel has been running for over 60 seconds ~~~
Commenting is not possible because the repository is archived.
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
glyn/ipc-channel-mux#3
No description provided.