Merge "Fix memory explosion in multi-store image tests"

This commit is contained in:
Zuul 2021-01-18 22:19:21 +00:00 committed by Gerrit Code Review
commit 3e05a15d9c
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ class MultiStoresImportImagesTest(base.BaseV2ImageTest):
self.client.stage_image_file(
image['id'],
six.BytesIO(data_utils.random_bytes(10485760)))
six.BytesIO(data_utils.random_bytes()))
# Check image status is 'uploading'
body = self.client.show_image(image['id'])
self.assertEqual(image['id'], body['id'])