mirror of
https://github.com/distribution/distribution
synced 2024-11-06 19:35:52 +01:00
registry/storage/driver/testsuites: use 4MB for Azure append test
Fixes #3931. Signed-off-by: Flavian Missi <fmissi@redhat.com>
This commit is contained in:
parent
0c33bb1092
commit
0d20e7ae9e
@ -388,7 +388,11 @@ func (suite *DriverSuite) TestReaderWithOffset(c *check.C) {
|
|||||||
// TestContinueStreamAppendLarge tests that a stream write can be appended to without
|
// TestContinueStreamAppendLarge tests that a stream write can be appended to without
|
||||||
// corrupting the data with a large chunk size.
|
// corrupting the data with a large chunk size.
|
||||||
func (suite *DriverSuite) TestContinueStreamAppendLarge(c *check.C) {
|
func (suite *DriverSuite) TestContinueStreamAppendLarge(c *check.C) {
|
||||||
suite.testContinueStreamAppend(c, int64(10*1024*1024))
|
chunkSize := int64(10 * 1024 * 1024)
|
||||||
|
if suite.Name() == "azure" {
|
||||||
|
chunkSize = int64(4 * 1024 * 1024)
|
||||||
|
}
|
||||||
|
suite.testContinueStreamAppend(c, chunkSize)
|
||||||
}
|
}
|
||||||
|
|
||||||
// TestContinueStreamAppendSmall is the same as TestContinueStreamAppendLarge, but only
|
// TestContinueStreamAppendSmall is the same as TestContinueStreamAppendLarge, but only
|
||||||
|
Loading…
Reference in New Issue
Block a user