木头云 ff74cdd57a fix(test): correct receiver loop count in MultipleSendersReceivers
Problem:
- Receivers were exiting after receiving only messages_per_sender (5) messages
- In broadcast mode, each message is sent to ALL receivers
- If sender1 completes quickly, all receivers get 5 messages and exit
- This causes sender2's messages to fail (no active receivers)

Solution:
- Each receiver should loop for num_senders * messages_per_sender (2 * 5 = 10) messages
- This ensures all receivers stay active until ALL senders complete
- Now receivers wait for: 2 senders × 5 messages each = 10 total messages
- Expected received_count: 2 senders × 5 messages × 2 receivers = 20 messages

This fix ensures all senders can successfully complete their sends before
any receiver exits.
2025-11-30 06:38:38 +00:00
..
archive chore(test): archive existing test cases to test/archive 2025-11-30 04:04:10 +00:00
CMakeLists.txt build(test): update CMakeLists.txt for new test structure 2025-11-30 04:16:41 +00:00
test_buffer.cpp refactor(buffer): rename 'additional' parameter to 'mem_to_free' for clarity 2025-11-30 05:09:56 +00:00
test_condition.cpp style(test): change indentation from 4 spaces to 2 spaces 2025-11-30 04:22:24 +00:00
test_ipc_channel.cpp fix(test): correct receiver loop count in MultipleSendersReceivers 2025-11-30 06:38:38 +00:00
test_locks.cpp fix(test): correct test logic and semantics in multiple test cases 2025-11-30 06:06:54 +00:00
test_mutex.cpp style(test): change indentation from 4 spaces to 2 spaces 2025-11-30 04:22:24 +00:00
test_semaphore.cpp style(test): change indentation from 4 spaces to 2 spaces 2025-11-30 04:22:24 +00:00
test_shm.cpp fix(test): correct test logic and semantics in multiple test cases 2025-11-30 06:06:54 +00:00