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

(Bug) - Fix timeout matcher #219

Merged
merged 1 commit into from
Aug 15, 2024
Merged

(Bug) - Fix timeout matcher #219

merged 1 commit into from
Aug 15, 2024

Conversation

jordanbreen28
Copy link
Contributor

@jordanbreen28 jordanbreen28 commented Aug 14, 2024

Ths commit fixes the timeout matcher to more accurately match a legitimate dsc timeout. Before, if output was nil for any other reason dsc_lite would assume timeout which is not strictly correct. There is a specific error message returned on dsc timeout which we should strive to match instead.

Additionally, moved the logic to only execute for nodes with windows powershell support as we can only pass a timeout to powershell on these nodes, and use the default error output from powershell as it is more concise and does a better job of conveying the message.

@jordanbreen28 jordanbreen28 force-pushed the bug-fix_timeout_matcher branch 5 times, most recently from c6427fc to c303ed4 Compare August 15, 2024 10:32
Ths commit fixes the timeout matcher to more accurately match a
legitimate dsc timeout. Before, if output was nil for any other reason
dsc_lite would assume timeout which is not strictly correct. There is a
specific error message returned on dsc timeout which we should strive to
match instead.

Additionally, moved the logic to only execute for nodes with windows
powershell support as we can only pass a timeout to powershell on these
nodes.
@jordanbreen28 jordanbreen28 marked this pull request as ready for review August 15, 2024 11:46
@jordanbreen28 jordanbreen28 requested a review from a team as a code owner August 15, 2024 11:46
@danadoherty639 danadoherty639 merged commit c40b6af into main Aug 15, 2024
12 checks passed
@danadoherty639 danadoherty639 deleted the bug-fix_timeout_matcher branch August 15, 2024 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants