Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-6534

Windows parallel specs fail

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • PUP 4.8.1
    • None
    • None
    • Windows
      Server 2012R2

    • 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
    • Agent
    • 1
    • Windows 2016-07-27, Windows 2016-08-10, AP 2016-11-16
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support