Returns a shutdown sender with its receiver immediately dropped. Tests that don't observe the shutdown signal can use this to satisfy the `register` signature without the receiver noise.
()
| 830 | /// that don't observe the shutdown signal can use this to satisfy the |
| 831 | /// `register` signature without the receiver noise. |
| 832 | fn make_shutdown() -> oneshot::Sender<()> { |
| 833 | oneshot::channel::<()>().0 |
| 834 | } |
| 835 | |
| 836 | fn sandbox_record(id: &str, name: &str) -> Sandbox { |
| 837 | Sandbox { |
no outgoing calls