Use minimal image wherever possible
This changes most of the tests to use minimal image. There are
now two tests left that use fedora image.
[1] SoftwareConfigIntegrationTest.test_server_software_config
[2] CfnInitIntegrationTest.test_server_cfn_init
Out of which [1] is already disabled at the gate.
Change-Id: I309989de1e5584f3e345213c4b62893159365973
Related-Bug: #1628302
diff --git a/functional/test_cancel_update.py b/functional/test_cancel_update.py
index c40aeb0..f6ddc07 100644
--- a/functional/test_cancel_update.py
+++ b/functional/test_cancel_update.py
@@ -41,16 +41,14 @@
def setUp(self):
super(CancelUpdateTest, self).setUp()
- if not self.conf.image_ref:
- raise self.skipException("No image configured to test.")
- if not self.conf.instance_type:
- raise self.skipException("No flavor configured to test.")
+ if not self.conf.minimal_image_ref:
+ raise self.skipException("No minimal image configured to test")
if not self.conf.minimal_instance_type:
raise self.skipException("No minimal flavor configured to test.")
def test_cancel_update_server_with_port(self):
parameters = {'InstanceType': self.conf.minimal_instance_type,
- 'ImageId': self.conf.image_ref,
+ 'ImageId': self.conf.minimal_image_ref,
'network': self.conf.fixed_network_name}
stack_identifier = self.stack_create(template=self.template,