Browse Source

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
Jens Harbott 1 year ago
parent
commit
d8728b4927
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      designate_tempest_plugin/common/waiters.py

+ 1
- 1
designate_tempest_plugin/common/waiters.py View File

@@ -167,7 +167,7 @@ def wait_for_recordset_status(client, zone_id, recordset_id, status):
167 167
 
168 168
         if int(time.time()) - start >= client.build_timeout:
169 169
             message = ('Recordset %(recordset_id)s failed to reach '
170
-                       'status=%(status) within the required time '
170
+                       'status=%(status)s within the required time '
171 171
                        '(%(timeout)s s). Current '
172 172
                        'status: %(status_curr)s' %
173 173
                        {'recordset_id': recordset_id,

Loading…
Cancel
Save