summaryrefslogtreecommitdiff
path: root/tempest/scenario
diff options
context:
space:
mode:
authoryatinkarel <ykarel@redhat.com>2022-02-01 15:19:39 +0530
committeryatinkarel <ykarel@redhat.com>2022-02-02 10:36:55 +0530
commit115065a239a8e1ab50b6070a3c6ebfeabd0ad6fc (patch)
treedc41d151b6a40fa476ea70de49eb1afe81266e12 /tempest/scenario
parentcae966812a4a5070c3e7f82d16ebe697da57e5c5 (diff)
downloadtempest-115065a239a8e1ab50b6070a3c6ebfeabd0ad6fc.tar.gz
Fix TypeError in QoSBandwidthAndPacketRateTests
[1] Added random int to flavor name but that resulted into TypeError: can only concatenate str (not "int") to str. Concatenate using % operator to fix it. Also make tempest-full-ussuri-py3 job non-voting temporary to unblock gate, can be reverted once [2] is fixed. [1] https://review.opendev.org/c/openstack/tempest/+/826946 [2] https://launchpad.net/bugs/1959600 Related-Bug: #1959467 Change-Id: I76e15b6b52bb44fec550ead510186c644c4a1c7f
Diffstat (limited to 'tempest/scenario')
-rw-r--r--tempest/scenario/test_network_qos_placement.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tempest/scenario/test_network_qos_placement.py b/tempest/scenario/test_network_qos_placement.py
index cdc25dd87..365eb1b7f 100644
--- a/tempest/scenario/test_network_qos_placement.py
+++ b/tempest/scenario/test_network_qos_placement.py
@@ -79,7 +79,7 @@ class NetworkQoSPlacementTestBase(manager.NetworkScenarioTest):
new_flavor = self.flavors_client.create_flavor(**{
'ram': old_flavor['ram'],
'vcpus': old_flavor['vcpus'],
- 'name': old_flavor['name'] + 'extra-' + data_utils.rand_int_id(),
+ 'name': old_flavor['name'] + 'extra-%s' % data_utils.rand_int_id(),
'disk': old_flavor['disk'] + 1
})['flavor']
self.addCleanup(test_utils.call_and_ignore_notfound_exc,