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

Unit test for the usage_metric.get_self_peak_vmm_kb() #31

Merged
merged 1 commit into from
Jan 5, 2022

Conversation

collinss-jpl
Copy link
Collaborator

This PR incorporates the work contributed by @drewmee to add unit test coverage for the usage_metrics.get_self_peak_vmm_kb() function. Thanks again to Drew for his contributions!

Previously, testing for this function was skipped since OS file used for the check only exists on Linux based OS. The function and unit test now check to ensure the current platform is Linux or not and take the appropriate action.

Resolves #22

…_kb function. Also slightly modified the implementation of the function.
@collinss-jpl collinss-jpl self-assigned this Jan 5, 2022
@collinss-jpl collinss-jpl merged commit 59bf04e into main Jan 5, 2022
@collinss-jpl collinss-jpl deleted the 22_peak_vmm_metric_fix branch January 12, 2022 22:20
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.

Maximize unit test coverage for ER01
1 participant