summaryrefslogtreecommitdiff
path: root/ironic_python_agent/errors.py
diff options
context:
space:
mode:
authorJavier Pena <jpena@redhat.com>2017-04-18 12:03:13 +0200
committerJavier Pena <jpena@redhat.com>2017-04-25 12:12:49 +0200
commit32ed01448bbd05fcea210ffd9ceb49ae2b09d4a5 (patch)
treebb262eb8a4e7b960cdc1a0eab38b2569d8787793 /ironic_python_agent/errors.py
parent92c33a0f477d7b1528beb2e143b326bf30a0f397 (diff)
downloadironic-python-agent-32ed01448bbd05fcea210ffd9ceb49ae2b09d4a5.tar.gz
Set valid inspection_dhcp_wait_timeout value in tests
inspection_dhcp_wait_timeout is defined as IntOpt, but its value was set in tests to 0.01. This was ok until oslo.config started enforcing types in [1], after that unit tests fail for test_timeout. Fixing by setting the value to 1, and mocking time-related functions to avoid a longer wait. [1] https://review.openstack.org/328692 Change-Id: I732c4aa3d1760c3159d9672e3fae81f8bd72497c
Diffstat (limited to 'ironic_python_agent/errors.py')
0 files changed, 0 insertions, 0 deletions