Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix nightly ci #416

Merged
merged 2 commits into from
Nov 4, 2019
Merged

chore: fix nightly ci #416

merged 2 commits into from
Nov 4, 2019

Conversation

hawkw
Copy link
Member

@hawkw hawkw commented Nov 4, 2019

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 [email protected]

hawkw added 2 commits November 4, 2019 10:39
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` `std::future` compatibility, which
depend on `tokio-test` from Git.

This branch updates these tests to use the new API, which *is* much
nicer. This should fix nightly CI.

Signed-off-by: Eliza Weisman <[email protected]>
@hawkw hawkw added crate/attributes Related to the `tracing-attributes` crate crate/futures Related to the `tracing-futures` crate kind/maintenance labels Nov 4, 2019
@hawkw hawkw requested review from yaahc and a team November 4, 2019 19:35
@hawkw hawkw self-assigned this Nov 4, 2019
@hawkw hawkw merged commit e53df80 into master Nov 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crate/attributes Related to the `tracing-attributes` crate crate/futures Related to the `tracing-futures` crate kind/maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants