Skip to content

Commit

Permalink
Merge "Grease test_try_deallocate_network_retry_direct"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed Aug 7, 2018
2 parents 4d8d813 + 7b42be7 commit 536acbf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nova/tests/unit/compute/test_compute_mgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -6266,6 +6266,8 @@ def test_deallocate_network_auto_requested_or_none_provided(self):
self.context, mock.sentinel.instance,
requested_networks=requested_networks)

@mock.patch('oslo_service.loopingcall._ThreadingEvent.wait',
new=mock.Mock())
@mock.patch('nova.compute.manager.ComputeManager._deallocate_network')
@mock.patch('nova.compute.manager.LOG.warning')
def test_try_deallocate_network_retry_direct(self, warning_mock,
Expand Down

0 comments on commit 536acbf

Please sign in to comment.