forked from TrueCloudLab/distribution
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
1 changed files with 5 additions and 1 deletions
|
@ -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 a new issue