From a5ab12e0c787417036762ed89fb11aaf6f45433a Mon Sep 17 00:00:00 2001 From: Alexander Gubanov Date: Tue, 17 Nov 2015 18:18:46 +0200 Subject: [PATCH] Change comments and description for minimum_basic test Extented test description and added comments for ssh connections used in test to avoid misinterpretation. Change-Id: I3ae5dd45a88f96a1a467e94bf88307b14b4621d4 --- tempest/scenario/test_minimum_basic.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/tempest/scenario/test_minimum_basic.py b/tempest/scenario/test_minimum_basic.py index 22aa06cb6a..b6e08a28b7 100644 --- a/tempest/scenario/test_minimum_basic.py +++ b/tempest/scenario/test_minimum_basic.py @@ -38,6 +38,18 @@ class TestMinimumBasicScenario(manager.ScenarioTest): * with and without optional parameters * check command outputs + Steps: + 1. Create image + 2. Create keypair + 3. Boot instance with keypair and get list of instances + 4. Create volume and show list of volumes + 5. Attach volume to instance and getlist of volumes + 6. Add IP to instance + 7. Create and add security group to instance + 8. Check SSH connection to instance + 9. Reboot instance + 10. Check SSH connection to instance after reboot + """ def _wait_for_server_status(self, server, status): @@ -131,10 +143,15 @@ class TestMinimumBasicScenario(manager.ScenarioTest): floating_ip = self.create_floating_ip(server) self.create_and_add_security_group_to_server(server) + # check that we can SSH to the server before reboot self.linux_client = self.get_remote_client( floating_ip['ip'], private_key=keypair['private_key']) + self.nova_reboot(server) + # check that we can SSH to the server after reboot + # (both connections are part of the scenario) self.linux_client = self.get_remote_client( floating_ip['ip'], private_key=keypair['private_key']) + self.check_partitions()