Skip to content

Integration test DSC_xServiceResource.EndToEnd.Tests.ps1 fails in CI #787

@johlju

Description

@johlju

This integration test fails:

    Context Edit the service start name and start password with Credential
WARNING: There is no operation running currently. Stop will return without any action.
WARNING: There is no operation running currently. Stop will return without any action.
      [+] Should compile and apply the MOF without throwing 1.18s
      [+] Should not have removed service with specified name 9ms
      [-] Should have edited the service to have the specified startup account name 32ms
        Expected strings to be the same, but they were different.
        Expected length: 16
        Actual length:   17
        Strings differ at index 2.
        Expected: '.\PSDSCTestAdmin'
        But was:  '.\xPSDSCTestAdmin'
        317:                     $serviceCimInstance.StartName | Should -Be ".\$expectedStartName"
        at <ScriptBlock>, D:\a\1\s\tests\Integration\DSC_xServiceResource.EndToEnd.Tests.ps1: line 317
      [+] Should return true from Test-TargetResource with the same parameters 112ms

Metadata

Metadata

Assignees

No one assigned

    Labels

    blocking releaseThe issue or pull request is blocking the next release. Higher priority than label 'High priority'.good first issueThe issue should be easier to fix and can be taken up by a beginner to learn to contribute on GitHubtestsThe issue or pull request is about tests only.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions