Skip to content

Commit 9930761

Browse files
committed
tests: Adjust the SFTP tests to new chunk size
Signed-off-by: Jakub Jelen <[email protected]>
1 parent c5d3944 commit 9930761

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/sftp_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ def sftp_session(ssh_client_session):
2121

2222

2323
@pytest.fixture(
24-
params=(32, 1024 + 1),
24+
params=(32, 32 * 1024 + 1),
2525
ids=('small-payload', 'large-payload'),
2626
)
2727
def transmit_payload(request: pytest.FixtureRequest) -> bytes:
2828
"""Generate binary test payloads of assorted sizes.
2929
3030
The choice 32 is arbitrary small value.
3131
32-
The choice 1024 + 1 is meant to be 1B larger than the chunk size used in
32+
The choice 32769 byte (32kB + 1B) is meant to be 1B larger than the chunk size used in
3333
:file:`sftp.pyx` to make sure we excercise at least two rounds of reading/writing.
3434
"""
3535
payload_len = request.param

0 commit comments

Comments
 (0)