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

Tests\Integration\xWindowsOptionalFeatureSet.Integration.Tests.ps1: Fix issues with disabled feature states #587

Merged

Conversation

mhendric
Copy link
Contributor

@mhendric mhendric commented Mar 6, 2019

Pull Request (PR) description

Fixes issue where tests fail if disabled Windows Optional Features in up in a state of DisabledWithPayloadRemoved.

This Pull Request (PR) fixes the following issues

Task list

  • Added an entry under the Unreleased section of the change log in
    CHANGELOG.md. Entry should say what was changed, and how that affects
    users (if applicable).
  • Resource documentation added/updated in README.md.
  • Resource parameter descriptions added/updated in README.md, schema.mof
    and comment-based help.
  • Comment-based help added/updated.
  • Localization strings added/updated in all localization files as
    appropriate.
  • Examples appropriately added/updated.
  • Unit tests added/updated. See
    DSC Resource Testing Guidelines.
  • Integration tests added/updated (where possible). See
    DSC Resource Testing Guidelines.
  • New/changed code adheres to
    DSC Resource Style Guidelines and Best Practices

This change is Reviewable

… up in a state of DisabledWithPayloadRemoved
@codecov-io
Copy link

codecov-io commented Mar 7, 2019

Codecov Report

Merging #587 into dev will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@         Coverage Diff         @@
##            dev   #587   +/-   ##
===================================
  Coverage    74%    74%           
===================================
  Files        27     27           
  Lines      4074   4074           
  Branches      4      4           
===================================
  Hits       3032   3032           
  Misses     1038   1038           
  Partials      4      4

@mhendric mhendric added the needs review The pull request needs a code review. label Mar 7, 2019
Copy link
Member

@ykuijs ykuijs left a comment

Choose a reason for hiding this comment

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

Small comment on the Changelog

Reviewed 1 of 2 files at r1.
Reviewable status: 1 of 2 files reviewed, 1 unresolved discussion (waiting on @mhendric)


CHANGELOG.md, line 27 at r1 (raw file):

- Changes to
  `Tests\Integration\xWindowsOptionalFeatureSet.Integration.Tests.ps1`
  - Fixes issue where tests fail if disabled Windows Optional Features in up

This scentence doesn't make sense to me. Typo maybe? "end up in a state"?

… up in a state of DisabledWithPayloadRemoved - Post Review
Copy link
Contributor Author

@mhendric mhendric left a comment

Choose a reason for hiding this comment

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

Reviewable status: 1 of 3 files reviewed, 1 unresolved discussion (waiting on @ykuijs)


CHANGELOG.md, line 27 at r1 (raw file):

Previously, ykuijs (Yorick Kuijs) wrote…

This scentence doesn't make sense to me. Typo maybe? "end up in a state"?

That was indeed a type. Good catch! Fixed.

… up in a state of DisabledWithPayloadRemoved - Post Review
@mhendric
Copy link
Contributor Author

mhendric commented Mar 7, 2019

Reviewable status: 1 of 3 files reviewed, 1 unresolved discussion (waiting on @ykuijs)

CHANGELOG.md, line 27 at r1 (raw file):
Previously, ykuijs (Yorick Kuijs) wrote…
That was indeed a type. Good catch! Fixed.

TypO ! Not type. Typing is hard...

Copy link
Member

@ykuijs ykuijs left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 1 of 1 files at r2.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@mhendric mhendric added ready for merge The pull request was approved by the community and is ready to be merged by a maintainer. and removed needs review The pull request needs a code review. labels Mar 7, 2019
@mhendric
Copy link
Contributor Author

mhendric commented Mar 7, 2019

@PlagueHO , I'll leave this one for you to merge since it's my PR and someone else did the code review. Thanks.

@PlagueHO
Copy link
Member

PlagueHO commented Mar 8, 2019

Hi @ykuijs - could you resolve conflicts?

@mhendric
Copy link
Contributor Author

mhendric commented Mar 8, 2019

@PlagueHO , I'll resolve the conflicts since it's my PR (@ykuijs just did the review). Thanks.

Copy link
Member

@PlagueHO PlagueHO left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 1 of 1 files at r6.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@PlagueHO PlagueHO merged commit 4b46d4f into dsccommunity:dev Mar 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready for merge The pull request was approved by the community and is ready to be merged by a maintainer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tests\Integration\xWindowsOptionalFeatureSet.Integration.Tests.ps1: Broken on Windows Server 2019
4 participants