Browse Source

Switch to use test_utils.call_until_true

test.call_until_true has been deprecated since Newton on Tempest side,
and now Tempest provides test_utils.call_until_true as the stable
library method. So this patch switches to use the stable method before
removing old test.call_until_true on Tempest side.

Change-Id: I5d1e5e9843320c10da35d86ff697c85bfa2dfc9d
rajat29 1 year ago
parent
commit
357ee6cf47
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      networking_vsphere/tests/scenario/manager.py

+ 2
- 2
networking_vsphere/tests/scenario/manager.py View File

@@ -695,8 +695,8 @@ class ESXNetworksTestJSON(base.BaseAdminNetworkTest,
695 695
                 return not should_succeed
696 696
             return should_succeed
697 697
 
698
-        return test.call_until_true(ping_remote,
699
-                                    CONF.validation.ping_timeout, 1)
698
+        return test_utils.call_until_true(ping_remote,
699
+                                          CONF.validation.ping_timeout, 1)
700 700
 
701 701
     def _fetch_segment_id_from_db(self, segmentid):
702 702
         database_ip = CONF.VCENTER.neutron_database_ip

Loading…
Cancel
Save