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

Make logging test output more legible #660

Merged
merged 1 commit into from
Jul 16, 2023
Merged

Make logging test output more legible #660

merged 1 commit into from
Jul 16, 2023

Conversation

tamird
Copy link
Member

@tamird tamird commented Jul 16, 2023

Presently when this test fails you just get "5 items instead of 6" but
not which item was lost.

See failures in aya-rs/bpf-linker#72.

@netlify
Copy link

netlify bot commented Jul 16, 2023

Deploy Preview for aya-rs-docs ready!

Name Link
🔨 Latest commit 703e710
🔍 Latest deploy log https://app.netlify.com/sites/aya-rs-docs/deploys/64b41542e28d4900087cb1c7
😎 Deploy Preview https://deploy-preview-660--aya-rs-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

body,
level: Level::Debug,
target,
}) if body == "Hello from eBPF!" && target == "log"
Copy link
Collaborator

Choose a reason for hiding this comment

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

couldn't these be assert_eq?

Copy link
Member Author

Choose a reason for hiding this comment

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

done

Presently when this test fails you just get "5 items instead of 6" but
not which item was lost.
@tamird tamird merged commit af54a81 into main Jul 16, 2023
@tamird tamird deleted the log-test branch July 16, 2023 17:04
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.

2 participants