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

powershell : Update code manager pipe_timeout to be 180

    XMLWordPrintable

    Details

    • Template:
      MODULES Bug Template
    • Acceptance Criteria:
      Hide

      pipe_timeout is increased from 30 to 180.
      Existing Unit/Acceptance tests pass in CI.
      No docs change required

      Show
      pipe_timeout is increased from 30 to 180. Existing Unit/Acceptance tests pass in CI. No docs change required
    • Team:
      Windows
    • Method Found:
      Customer Feedback
    • QA Risk Assessment:
      Needs Assessment

      Description

      MODULES-4748 identified that the default pipe_timeout is too low in some cases.

      The pipe_timeout parameter is different than theĀ timeout attribute of the containing Exec resource, the default pipe_timeout is 30 seconds, and pipe_timeout does not appear to be configurable, given:

      https://github.com/puppetlabs/puppetlabs-powershell/blob/master/lib/puppet/provider/exec/powershell.rb#L65

      https://github.com/puppetlabs/puppetlabs-powershell/blob/master/lib/puppet_x/puppetlabs/powershell/powershell_manager.rb#L12

      The timeout should be increased to reduce instances of this error given the current complexity of implementing a configuration for the PowerShell code manager across the 5+ modules using it.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              michael.lombardi Michael Lombardi
              Reporter:
              michael.lombardi Michael Lombardi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support