Uploaded image for project: 'Puppet Server'
  1. Puppet Server
  2. SERVER-889

Tests / validation re: streaming code content

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Template:
    • Story Points:
      5

      Description

      In SERVER-888, we will make it possible for users to provide an external script that is responsible for returning code content for a file at a given code_id. This will rely on us having added support for streaming output from external shell scripts (SERVER-884).

      This ticket is to capture the effort of writing some tests and/or doing some manual validation to verify that the streaming is working properly. We should validate at least the following:

      • For large-ish files, we do not read the entire file contents into memory before we begin to stream the response body back to the client, and
      • In the event that the client closes the HTTP connection before we've successfully streamed back all of the file content, we are able to properly clean up the objects related to our call to the external shell process, and thus we don't end up leaking any memory.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              chris Chris Price
              QA Contact:
              Erik Dasher Erik Dasher
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support