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

spec/unit/transaction/persistence_spec.rb includes a spec test that fails on non-US English Windows platforms

    Details

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

      Windows 7 French
      Puppet v4.8.0

    • Template:
    • Acceptance Criteria:
      • Unit test should not depend on English for error messages
    • Team:
      Agent
    • Story Points:
      1
    • Sprint:
      AP 2016-11-16
    • Release Notes:
      Not Needed

      Description

      https://github.com/puppetlabs/puppet/commit/277c90871c6870b689f40e535c0c6d2063176a95 introduced a test at https://github.com/puppetlabs/puppet/blob/master/spec/unit/transaction/persistence_spec.rb#L151 which uses English to detect and Access Denied error. However on localised versions of Windows this error text is different, e.g. on French Windows it is Accès refusé

      The unit test should be modified to not depend on English

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support