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

Handle case where test fails to exeute #61

Merged
merged 1 commit into from
Apr 14, 2024

Conversation

Alan-Jowett
Copy link
Member

This pull request includes changes to the scripts/two-machine-perf.ps1 file to handle cases where certain variables may be null or empty. The changes ensure that if the $values variable is null or empty, an error message is written and the median is set to 0. This is done for four different variables: $SendMedianConnectionBps, $SendMedianBps, $RecvMedianConnectionBps, and $RecvMedianBps.

  • scripts/two-machine-perf.ps1: Added null or empty checks for $values. If $values is null or empty, an error message is written and the median is set to 0. This is done for the variables $SendMedianConnectionBps, $SendMedianBps, $RecvMedianConnectionBps, and $RecvMedianBps.

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
@Alan-Jowett Alan-Jowett merged commit aacbb5f into microsoft:main Apr 14, 2024
9 checks passed
@Alan-Jowett Alan-Jowett deleted the handle_failure branch April 27, 2024 18:23
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.

1 participant