Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/actions/spelling/expect.txt
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
tdigest
TEQ
testmode
testutils

Check warning on line 174 in .github/actions/spelling/expect.txt

View workflow job for this annotation

GitHub Actions / Report (PR)

`testutils` is ignored by check-spelling because another more general variant is also in expect (ignored-expect-variant)

Check warning on line 174 in .github/actions/spelling/expect.txt

View workflow job for this annotation

GitHub Actions / Report (PR)

`testutils` is ignored by check-spelling because another more general variant is also in expect (ignored-expect-variant)
textoid
timespec
tmp
Expand Down Expand Up @@ -243,7 +243,7 @@
PUTV
Sourced
TSTo
Vec

Check warning on line 246 in .github/actions/spelling/expect.txt

View workflow job for this annotation

GitHub Actions / Report (PR)

`Vec` is ignored by check-spelling because another more general variant is also in expect (ignored-expect-variant)

Check warning on line 246 in .github/actions/spelling/expect.txt

View workflow job for this annotation

GitHub Actions / Report (PR)

`Vec` is ignored by check-spelling because another more general variant is also in expect (ignored-expect-variant)
alloc
cpath
fds
Expand Down Expand Up @@ -285,4 +285,5 @@
dmsg
untrash
untrashify
roundtrip

Check warning on line 288 in .github/actions/spelling/expect.txt

View workflow job for this annotation

GitHub Actions / Report (PR)

Ignoring entry because it contains non-alpha characters (non-alpha-in-dictionary)

Check warning on line 288 in .github/actions/spelling/expect.txt

View workflow job for this annotation

GitHub Actions / Report (PR)

Ignoring entry because it contains non-alpha characters (non-alpha-in-dictionary)
urandom
3 changes: 3 additions & 0 deletions test/regress/expected/20_multipart_small_chunk.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
1
Object: {Name: "/multipart_file", size: 15728707}
ok
22 changes: 22 additions & 0 deletions test/regress/tests/20_multipart_small_chunk.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/bash
set -ex


# Multipart should be at least 5242880 bytes, so we generate 3 full
# part and one small tail
set +x
value=$(tr -dc 'A-Za-z0-9' < /dev/urandom | head -c $((5242880 * 3 + 67)))
Comment thread
reshke marked this conversation as resolved.
Dismissed

# Force multipart upload with a tiny chunk size so 30 bytes split into multiple parts
printf $value | yp-client --config test/regress/conf/yproxy.yaml -l fatal put --multipart-chunk-size 5242880 'multipart_file'
value_cat=$(yp-client --config test/regress/conf/yproxy.yaml -l fatal cat 'multipart_file')

set -x

yp-client --config test/regress/conf/yproxy.yaml -l fatal list ''

set +x
[[ $value == $value_cat ]] || exit 1
set -x

echo ok
Loading