diff --git a/internal/s3/client.go b/internal/s3/client.go index dbe9825..c7fbe89 100644 --- a/internal/s3/client.go +++ b/internal/s3/client.go @@ -84,7 +84,7 @@ func (c *Client) Multipart(bucket, key string, objPartSize int, payload goja.Arr u.PartSize = int64(objPartSize) u.Concurrency = concurrency }) - _, err := uploader.Upload(context.TODO(), &s3.PutObjectInput{ + _, err := uploader.Upload(c.vu.Context(), &s3.PutObjectInput{ Bucket: aws.String(bucket), Key: aws.String(key), Body: bytes.NewReader(payload.Bytes()),