From 35c1e6f783069947ff8b296c70f26f65fdb87157 Mon Sep 17 00:00:00 2001 From: Benny Kopilov Date: Wed, 20 Jul 2022 15:42:09 +0300 Subject: [PATCH] Allow multiple instances on create_test_server Current code support multiple instance and we should allow it for other tests. expample: tempest/api/compute/admin/test_volume_swap.py Change-Id: Ia0426bc2afcdd05d5e00459b27ac2f6e4c2fd715 --- tempest/common/compute.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tempest/common/compute.py b/tempest/common/compute.py index eb7e366744..2c256a96d8 100644 --- a/tempest/common/compute.py +++ b/tempest/common/compute.py @@ -209,13 +209,6 @@ def create_test_server(clients, validatable=False, validation_resources=None, kwargs.get('max_count', 0)) > 1) if CONF.validation.run_validation and validatable: - # As a first implementation, multiple pingable or sshable servers will - # not be supported - if multiple_create_request: - msg = ("Multiple pingable or sshable servers not supported at " - "this stage.") - raise ValueError(msg) - LOG.debug("Provisioning test server with validation resources %s", validation_resources) if 'security_groups' in kwargs: