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

Add end-to-end test for event serialization. #8

Merged
merged 2 commits into from Mar 26, 2019

Conversation

michaelwoerister
Copy link
Member

Adds and end-to-end test for event serialization (an adaption of the end-to-end example). This should make it more convenient to implement the MmapSerializationSink.

Copy link
Member

@wesleywiser wesleywiser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm other than that one question

#[test]
fn test_file_serialization_sink() {
let expected_events =
generate_profiling_data::<FileSerializationSink>("file_serialization_sink_test");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do the files generated by this show up when you run git status or are they already ignored? If they show up, it'd be great if we could ignore them.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good thinking! I'll take care of that.

@michaelwoerister michaelwoerister merged commit 47cf346 into rust-lang:master Mar 26, 2019
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

Successfully merging this pull request may close these issues.

None yet

2 participants