Skip to content

Commit c66abfc

Browse files
committed
Workaround for failing tests on openstacksdk change
The 'show-instance-action-finish-time' blueprint [1] adds support for showing 'finish_time' for InstanceAction object. This change adds 'finish_time' as hidden column, so it doesn't fail tests. We need to remove this from hidden_column list, once all the changes related to blueprint are merged and show the field only if microversion is >= 2.101 This is a workaround for failing tests on patch [2], as per suggestion from Stephen. [1] https://blueprints.launchpad.net/openstack/?searchtext=show-instance-action-finish-time [2] https://review.opendev.org/c/openstack/openstacksdk/+/930562 Implements: blueprint show-instance-action-finish-time Change-Id: Ib9294a603daed0fdb936be128dfba254b9108799
1 parent 7ecdb69 commit c66abfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openstackclient/compute/v2/server_event.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def machine_readable(self):
8282

8383

8484
def _get_server_event_columns(item, client):
85-
hidden_columns = ['name', 'server_id', 'links', 'location']
85+
hidden_columns = ['name', 'server_id', 'links', 'location', 'finish_time']
8686

8787
if not sdk_utils.supports_microversion(client, '2.58'):
8888
# updated_at was introduced in 2.58

0 commit comments

Comments
 (0)