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

field_filter_spans intermittently fails #993

Closed
jyn514 opened this issue Sep 27, 2020 · 3 comments
Closed

field_filter_spans intermittently fails #993

jyn514 opened this issue Sep 27, 2020 · 3 comments

Comments

@jyn514
Copy link
Contributor

jyn514 commented Sep 27, 2020

Bug Report

Version

Master branch (currently a8cc977).

Platform

I noticed the failure on MacOS, but it may appear on other platforms.

Crates

tracing and tracing-subscriber.

Description

Occasionally field_filter_spans fails with the following error:

}
[field_filter_spans] enabled -> true
thread 'field_filter_spans' panicked at '[field_filter_spans] more notifications expected: [Enter(MockSpan { metadata: Expect { name: Some("span3"), level: None, target: None } }), Event(MockEvent { fields: Some(Expect { fields: {"something": Any}, only: false }), parent: None, metadata: Expect { name: None, level: Some(Level(Debug)), target: None } }), Exit(MockSpan { metadata: Expect { name: Some("span3"), level: None, target: None } }), Nothing]', tracing-subscriber/tests/../../tracing/tests/support/subscriber.rs:528:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

See also #991 (comment)

@hawkw
Copy link
Member

hawkw commented Sep 27, 2020

see also #449

@jyn514
Copy link
Contributor Author

jyn514 commented Sep 27, 2020

Oops, this is a duplicate then.

@jyn514 jyn514 closed this as completed Sep 27, 2020
@hawkw
Copy link
Member

hawkw commented Sep 27, 2020

Technically it's not, since #449 is for a different test in the same file :) But, I think the issue is caused by an interaction between the filtering directives for those two tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants