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

Port FixMsiPackageTests from PSDscResources #627

Merged
merged 2 commits into from
Jun 4, 2019

Conversation

mhendric
Copy link
Contributor

@mhendric mhendric commented Jun 3, 2019

Pull Request (PR) description

Ports the fixes from: PowerShell/PSDscResources#157.
These fixed: PowerShell/PSDscResources#142.
Fixes issue where MsiPackage Integration tests fail if the test HttpListener
fails to start. Moves the test HttpListener objects to dynamically assigned,
higher numbered ports to avoid conflicts with other services, and also checks
to ensure that the ports are available before using them. Adds checks to
ensure that no outstanding HTTP server jobs are running before attempting to
setup a new one. Also adds additional instrumentation to make it easier to
troubleshoot issues with the test HttpListener objects in the future.

This Pull Request (PR) fixes the following issues

None

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

@codecov-io
Copy link

Codecov Report

Merging #627 into dev will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@         Coverage Diff         @@
##            dev   #627   +/-   ##
===================================
  Coverage    75%    75%           
===================================
  Files        28     28           
  Lines      4187   4187           
  Branches      4      4           
===================================
  Hits       3147   3147           
  Misses     1036   1036           
  Partials      4      4

@mhendric
Copy link
Contributor Author

mhendric commented Jun 3, 2019

Hey @PlagueHO , can you review this one when you get a chance? Thanks.

@mhendric mhendric requested a review from PlagueHO June 3, 2019 19:11
@mhendric mhendric added the needs review The pull request needs a code review. label Jun 3, 2019
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 8 of 8 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@PlagueHO PlagueHO merged commit 55c0931 into dsccommunity:dev Jun 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs review The pull request needs a code review.
Projects
None yet
3 participants