Commit 7ffb68d8 authored by Christos Stavrakakis's avatar Christos Stavrakakis
Browse files

Fix bug in snf-burnin about flavor names

Since version 0.13 flavors have been renamed in order to include the
disk_template. This commit fixes the corresponding check in snf-burnin.
parent bdcea810
......@@ -376,7 +376,8 @@ class FlavorsTestCase(unittest.TestCase):
Where xx is vCPU count, yy is RAM in MiB, zz is Disk in GiB
"""
for f in self.dflavors:
self.assertEqual("C%dR%dD%d" % (f["cpu"], f["ram"], f["disk"]),
flavor = (f["cpu"], f["ram"], f["disk"], f["SNF:disk_template"])
self.assertEqual("C%dR%dD%d%s" % flavor),
f["name"],
"Flavor %s does not match its specs." % f["name"])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment