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
This commit is contained in:
yatinkarel 2022-02-01 15:19:39 +05:30
parent cae966812a
commit 115065a239
2 changed files with 2 additions and 1 deletions

View File

@ -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,

View File

@ -42,6 +42,7 @@
- tempest-full-victoria-py3:
irrelevant-files: *tempest-irrelevant-files
- tempest-full-ussuri-py3:
voting: false
irrelevant-files: *tempest-irrelevant-files
- tempest-multinode-full-py3:
irrelevant-files: *tempest-irrelevant-files