diff options
| author | Javier Pena <jpena@redhat.com> | 2017-10-18 10:28:19 +0200 |
|---|---|---|
| committer | Ruby Loo <ruby.loo@intel.com> | 2017-10-18 15:27:45 +0000 |
| commit | 5707c35b4186395e9dfb7818656d8e4929f0613c (patch) | |
| tree | 2905a1e4f4143ff08bb5d7fd222218cad5ef5e1d /ironic_python_agent/inspector.py | |
| parent | 8a70c4d575c3b5bef2debde8512ed3200ccc8d4c (diff) | |
| download | ironic-python-agent-2.0.1.tar.gz | |
Mock _wait_for_interface in test_run_with_sleep2.0.1
When running unit tests in an environment without network access,
for example in a packaging env, test_run_with_sleep fails with a
timeout trying to list the network interfaces [1].
Mocking the _wait_for_interface call, as it is done currently on
master and stable/pike, fixes the issue. The original commit is
fdcb0922a5c4a4ecbb8cb1b307c6c750990699ff; this patch only grabs
the one mock from the original change.
[1] - See https://trunk.rdoproject.org/centos7-ocata/8a/70/8a70c4d575c3b5bef2debde8512ed3200ccc8d4c_aa5406af/rpmbuild.log
Change-Id: I5010ea78b4794afb72f86762b7e6fc31c1540436
Diffstat (limited to 'ironic_python_agent/inspector.py')
0 files changed, 0 insertions, 0 deletions
