Explicitly deleting will prevent attempting to resize down an instance
that was used for other resize tests. Every resize test will get its own
server.
Because there is now no potential to be resizing back and forth between
flavor_ref and flavor_ref_alt we can do away with the code that tried to
figure out what the direction should be. Resizes will now always be from
flavor_ref to flavor_ref_alt, another protection against attempting to
resize down.
This does add extra work, deleting a server after each test and making a
new one, however as it does away with resize direction ambiguity and
happy accidental successes the performance hit is worth it.
Reviewed: https:/ /review. openstack. org/179272 /git.openstack. org/cgit/ openstack/ tempest/ commit/ ?id=613b498ca96 7a2591bfd74c284 f7ab30c1c98f4a
Committed: https:/
Submitter: Jenkins
Branch: master
commit 613b498ca967a25 91bfd74c284f7ab 30c1c98f4a
Author: Jesse Keating <email address hidden>
Date: Mon May 4 15:05:19 2015 -0700
Delete server after resize test
Explicitly deleting will prevent attempting to resize down an instance
that was used for other resize tests. Every resize test will get its own
server.
Because there is now no potential to be resizing back and forth between
flavor_ref and flavor_ref_alt we can do away with the code that tried to
figure out what the direction should be. Resizes will now always be from
flavor_ref to flavor_ref_alt, another protection against attempting to
resize down.
This does add extra work, deleting a server after each test and making a
new one, however as it does away with resize direction ambiguity and
happy accidental successes the performance hit is worth it.
Change-Id: I7ba85c94d40927 f31e1e07b9940e5 a4ed1a7577f
Closes-Bug: #1450648