From d8728b49274c0a9e9f2a55b680d7fc40b116054a Mon Sep 17 00:00:00 2001 From: Jens Harbott Date: Mon, 16 Apr 2018 09:36:00 +0000 Subject: [PATCH] Fix error when creating TimeoutException We need to have a valid format specifier. Currently this produces: ValueError: unsupported format character 'w' (0x77) at index 50 [0] http://logs.openstack.org/94/561194/5/check/designate-base/401ff70/testr_results.html.gz Change-Id: Ibb500c3ed26e23e7770901fa85e6e5bdbb15d741 --- designate_tempest_plugin/common/waiters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/designate_tempest_plugin/common/waiters.py b/designate_tempest_plugin/common/waiters.py index 5c066239..ee597028 100644 --- a/designate_tempest_plugin/common/waiters.py +++ b/designate_tempest_plugin/common/waiters.py @@ -167,7 +167,7 @@ def wait_for_recordset_status(client, zone_id, recordset_id, status): if int(time.time()) - start >= client.build_timeout: message = ('Recordset %(recordset_id)s failed to reach ' - 'status=%(status) within the required time ' + 'status=%(status)s within the required time ' '(%(timeout)s s). Current ' 'status: %(status_curr)s' % {'recordset_id': recordset_id,