File: streaming.feature

package info (click to toggle)
golang-github-aws-aws-sdk-go 1.1.14%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 25,048 kB
  • ctags: 30,114
  • sloc: ruby: 193; makefile: 98
file content (26 lines) | stat: -rw-r--r-- 713 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# language: en
@performance @streaming
Feature: Streaming transfers consume a fixed amount of memory

  Scenario Outline: Streaming uploads are O(1) in memory usage
    Given I have a <bytes> byte file
    And I take a snapshot of my resources
    When I upload the file
    Then I should not have leaked any resources

    Examples:
    | bytes     |
    | 2097152   |
    | 209715200 |

  Scenario Outline: Streaming download are O(1) in memory usage
    Given I have a <bytes> byte file
    And I take a snapshot of my resources
    When I upload the file
    And then download the file
    Then I should not have leaked any resources

    Examples:
      | bytes     |
      | 2097152   |
      | 209715200 |