[Tempest]: Adding sleep between PSG creation and adding to backend

Change-Id: I703de892b2536086d352d2cd2faf3623bb6c654d
This commit is contained in:
Puneet Arora 2017-06-15 15:01:13 +00:00
parent 751a779ee0
commit 92835f5f61

View File

@ -134,6 +134,7 @@ class ProviderSecurityGroupTest(base.BaseAdminNetworkTest):
sg_rule = self.create_security_group_rule(sg_id, cmgr=self.cmgr_adm,
protocol='icmp')
sg_rule.get('id')
time.sleep(constants.NSX_BACKEND_TIME_INTERVAL)
self.assertNotEmpty(self.nsx.get_firewall_section(sg_name, sg_id))
@test.attr(type='nsxv3')