sync: add Sender<T>::closed future #6685
+126
−3
Open
Cirrus CI / FreeBSD 32-bit
failed
Nov 3, 2024 in 5m 58s
Task Summary
Instruction test failed in 05:37
Details
ℹ️ Scheduling was delayed due to a concurrency limit on community tasks
✅ 00:03 clone
✅ 00:14 setup
❌ 05:37 test
test tango ... ok
test zero_does_not_block ... ok
test lots ... ok
test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/sync_broadcast.rs (target/i686-unknown-freebsd/debug/deps/sync_broadcast-a9ede316d33377eb)
running 31 tests
test broadcast_sender_closed_with_extra_subscribe ... ok
test broadcast_sender_closed ... ok
test change_tasks ... ok
test capacity_too_big - should panic ... ok
test drop_rx_while_values_remain ... ok
test dropping_sender_does_not_overwrite ... ok
test dropping_tx_notifies_rx ... ok
test lagging_receiver_recovers_after_wrap_closed_1 ... ok
test lagging_receiver_recovers_after_wrap_closed_2 ... ok
test lagging_receiver_recovers_after_wrap_open ... ok
test lagging_rx ... ok
test panic_in_clone ... ok
test receiver_len_with_lagged ... ok
test resubscribe_lagged ... ok
test resubscribe_points_to_tail ... ok
test resubscribe_to_closed_channel ... FAILED
test receiver_recv_is_cooperative ... ok
test send_in_waker_drop ... ok
test send_no_rx ... ok
test send_recv_bounded ... ok
test send_try_recv_bounded ... ok
test send_slow_rx ... ok
test send_two_recv ... ok
test send_two_recv_bounded ... ok
test sender_len ... ok
test single_capacity_recvs ... ok
test single_capacity_recvs_after_drop_1 ... ok
test single_capacity_recvs_after_drop_2 ... ok
test unconsumed_messages_are_dropped ... ok
test zero_capacity - should panic ... ok
test sender_len_random ... ok
failures:
---- resubscribe_to_closed_channel stdout ----
thread 'resubscribe_to_closed_channel' panicked at tokio/tests/sync_broadcast.rs:527:5:
is not closed
failures:
resubscribe_to_closed_channel
test result: FAILED. 30 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
error: test failed, to rerun pass `-p tokio --test sync_broadcast`
Exit status: 101
Loading