Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 4.8.1
    • Component/s: None
    • Labels:
      None
    • Environment:

      Windows
      Server 2012R2

    • Template:
    • Acceptance Criteria:
      Hide

      bundle exec rake parallel:spec runs with no spec failures in Windows

      Show
      bundle exec rake parallel:spec runs with no spec failures in Windows
    • Team:
      Agent
    • Story Points:
      1
    • Sprint:
      Windows 2016-07-27, Windows 2016-08-10, AP 2016-11-16
    • Release Notes:
      Not Needed

      Description

      PUP-5938 added some spec tests which fail when using the parallel spec runner on windows

      Failures:
       
        1) Puppet::Type::Group::ProviderWindows_adsi should be able to test whether a group exists
           Failure/Error: expect(provider).to be_exists
             expected `Group[testers](provider=windows_adsi).exists?` to return true, got false
           # ./spec/unit/provider/group/windows_adsi_spec.rb:250:in `block (2 levels) in <top (required)>'
           # util/rspec_runner:39:in `run'
           # util/rspec_runner:53:in `<main>'
        2) Puppet::Type::User::ProviderWindows_adsi should be able to test whether a user exists
           Failure/Error: expect(provider).to be_exists
             expected `User[testuser](provider=windows_adsi).exists?` to return true, got false
           # ./spec/unit/provider/user/windows_adsi_spec.rb:253:in `block (2 levels) in <top (required)>'
           # util/rspec_runner:39:in `run'
           # util/rspec_runner:53:in `<main>'
      Finished in 33.82 seconds (files took 5.88 seconds to load)
       
      Finished in 5 minutes 57 seconds
      21401 examples, 2 failures, 62 pending
       
      Failed examples:
      rspec ./spec/unit/provider/group/windows_adsi_spec.rb:247 # Puppet::Type::Group::ProviderWindows_adsi should be able to test whether a group exists
      rspec ./spec/unit/provider/user/windows_adsi_spec.rb:250 # Puppet::Type::User::ProviderWindows_adsi should be able to test whether a user exists
      

      This is occuring in local dev environment and on Appveyor

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                glenn.sarti Glenn Sarti
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support