[TF] Workaround for PRODX-7986
Due to the implementation specifics, in the case of TungstenFabric,
we need to request SG object to get the updated timestamp.
Related-PROD: PRODX-7986
Change-Id: Ieda423cf6d02a509d85846f968b1b2a90f04ee04
diff --git a/neutron_tempest_plugin/api/test_timestamp.py b/neutron_tempest_plugin/api/test_timestamp.py
index c3227a9..0cf28d5 100644
--- a/neutron_tempest_plugin/api/test_timestamp.py
+++ b/neutron_tempest_plugin/api/test_timestamp.py
@@ -305,6 +305,10 @@
updated_security_group = self.client.update_security_group(
security_group['id'], name=security_group['name'] + 'new')[
'security_group']
+ # Workaround for PRODX-7986
+ if CONF.service_available.contrail:
+ updated_security_group = self.client.show_security_group(
+ security_group['id'])['security_group']
# Verify that created_at hasn't changed
self.assertEqual(security_group['created_at'],