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

More test cleanup; removing hardcoded array indexing #1216

Merged
merged 1 commit into from
Jan 30, 2025

Conversation

jcrossley3
Copy link
Contributor

Makes it easier to further constrain the results without assuming any particular order in the output.

Makes it easier to further constrain the results without assuming any
particular order in the output.

Signed-off-by: Jim Crossley <[email protected]>
@jcrossley3 jcrossley3 requested a review from ctron January 30, 2025 00:37
panic!("one of the items component should have matched.");
}
log::info!("{:?}", response);
tracing::debug!(test = "", "{response:#?}");
Copy link
Collaborator

Choose a reason for hiding this comment

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

nice is using tracing:: this the 'new way' ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's a way. It's the first way I found that enabled me to easily debug tests without seeing all the instrumentation logs. More details in #1201

Copy link
Collaborator

@JimFuller-RedHat JimFuller-RedHat left a comment

Choose a reason for hiding this comment

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

LGTM!

@ctron ctron added this pull request to the merge queue Jan 30, 2025
Merged via the queue into trustification:main with commit 2298076 Jan 30, 2025
3 checks passed
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.

3 participants