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

SqlServerDsc: Opt-in for 'Common Test - Validate Localization' #1366

Merged
merged 13 commits into from
May 30, 2019

Conversation

johlju
Copy link
Member

@johlju johlju commented May 28, 2019

Pull Request (PR) description

  • Changes to SqlServerDsc
  • Changes to SqlAlwaysOnService
    • Now outputs the correct verbose message when restarting the service.
  • Changes to SqlServerMemory
    • Now outputs the correct verbose messages when calculating the dynamic
      memory, and when limiting maximum memory.
  • Changes to SqlServerRole
    • Now outputs the correct verbose message when the members of a role is
      not in desired state.
  • Changes to SqlAgentOperator
    • Fix minor issue that when unable to connect to an instance. Instead
      of showing a message saying that connect failed another unrelated
      error message could have been shown, because of an error in the code.

This Pull Request (PR) fixes the following issues

Task list

  • Added an entry under the Unreleased section of the change log in the 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

@johlju johlju added the waiting for code fix A review left open comments, and the pull request is waiting for changes to be pushed by the author. label May 28, 2019
- Opt-in to the common test 'Common Test - Flagged Script Analyzer Rules'
  ([issue dsccommunity#1101).
@codecov-io
Copy link

codecov-io commented May 28, 2019

Codecov Report

Merging #1366 into dev will decrease coverage by <1%.
The diff coverage is 96%.

Impacted file tree graph

@@          Coverage Diff          @@
##            dev   #1366    +/-   ##
=====================================
- Coverage    98%     97%    -1%     
=====================================
  Files        36      35     -1     
  Lines      5257    5172    -85     
=====================================
- Hits       5187    5066   -121     
- Misses       70     106    +36

@johlju johlju added needs review The pull request needs a code review. and removed waiting for code fix A review left open comments, and the pull request is waiting for changes to be pushed by the author. labels May 29, 2019
Copy link
Member Author

@johlju johlju 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 56 of 58 files at r1, 2 of 2 files at r2.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@johlju johlju merged commit 2ed912f into dsccommunity:dev May 30, 2019
@johlju johlju removed the needs review The pull request needs a code review. label May 30, 2019
@johlju johlju deleted the fix-common-test-validate-localization branch July 17, 2019 08:17
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.

Combine DscResource.LocalizationHelper and DscResource.Common into SqlServerDsc.Common
2 participants