Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-2977

DSC - Tests Report Success when Exceptions are Raised via PowerShell

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • dsc

    Description

      It was discovered that the "assert_dsc_resource" method in the "dsc_utils.rb" library would report success when PowerShell commands raised exceptions. Also, this bug was covering up the fact that any test using a vendored DSC resource was in fact failing. Scary!

      Attachments

        Issue Links

          Activity

            People

              ryan.gard Ryan Gard
              ryan.gard Ryan Gard
              Ryan Gard Ryan Gard
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support