Adam Litke has uploaded a new change for review. Change subject: tests: Create block metadata file with correct size ......................................................................
tests: Create block metadata file with correct size The function BlockStorageDomainManifest.metaSize returns the metadata size in MB so it must be converted to bytes when calling make_file. Change-Id: Ifbcfd1459022d69e4d4fec6ab443adca37e570a5 Signed-off-by: Adam Litke <[email protected]> --- M tests/storagetestlib.py 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/87/55887/1 diff --git a/tests/storagetestlib.py b/tests/storagetestlib.py index 218ce08..f6a59ea 100644 --- a/tests/storagetestlib.py +++ b/tests/storagetestlib.py @@ -91,7 +91,7 @@ # Create the metadata LV for storing volume metadata metafile_path = fake_lvm.lvPath(sduuid, sd.METADATA) make_file(metafile_path, - blockSD.BlockStorageDomainManifest.metaSize(sduuid)) + blockSD.BlockStorageDomainManifest.metaSize(sduuid) * MB) # Create the rest of the special LVs for metafile, sizemb in sd.SPECIAL_VOLUME_SIZES_MIB.iteritems(): -- To view, visit https://gerrit.ovirt.org/55887 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ifbcfd1459022d69e4d4fec6ab443adca37e570a5 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Adam Litke <[email protected]> _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
