From 449bc1029e7c5d86e78a929fbe9fceadd366d6f6 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Fri, 22 Sep 2023 14:32:23 +0900 Subject: [PATCH] Use minimal image and flavor for base scenario test This test case can use cirros, and does not require additional features. Change-Id: I2eb569fc2b4a9ff01b979cd631ec58d2ac6e72ad --- .../tests/scenario/test_base_resources.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/heat_tempest_plugin/tests/scenario/test_base_resources.py b/heat_tempest_plugin/tests/scenario/test_base_resources.py index ddd8564..44de5b1 100644 --- a/heat_tempest_plugin/tests/scenario/test_base_resources.py +++ b/heat_tempest_plugin/tests/scenario/test_base_resources.py @@ -21,10 +21,10 @@ class BasicResourcesTest(scenario_base.ScenarioTestsBase): def setUp(self): super(BasicResourcesTest, 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 check_stack(self): sid = self.stack_identifier @@ -55,8 +55,8 @@ class BasicResourcesTest(scenario_base.ScenarioTestsBase): self.private_net_name = test.rand_name('heat-net') parameters = { 'key_name': test.rand_name('heat-key'), - 'flavor': self.conf.instance_type, - 'image': self.conf.image_ref, + 'flavor': self.conf.minimal_instance_type, + 'image': self.conf.minimal_image_ref, 'vol_size': self.conf.volume_size, 'private_net_name': self.private_net_name }