mirror of
https://github.com/tokio-rs/tracing.git
synced 2025-10-02 23:34:40 +00:00

## Motivation A recent upstream change to `tokio-test` (tokio-rs/tokio#1728) removed the `MockTask` API in favour of a more ergonomic `task::spawn` API. This broke our tests for `tracing-futures` and `tracing-attributes` `std::future` compatibility, which depend on `tokio-test` from Git. ## Solution This branch updates these tests to use the new API, which *is* much nicer. This should fix nightly CI. Signed-off-by: Eliza Weisman <eliza@buoyant.io>