Browse Source

Merge "Fix multiprocessing call in unit test"

changes/66/707166/1
Zuul Gerrit Code Review 2 weeks ago
parent
commit
48ef7c9188
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ironic_python_agent/tests/unit/test_hardware.py

+ 1
- 1
ironic_python_agent/tests/unit/test_hardware.py View File

@@ -1830,7 +1830,7 @@ class TestGenericHardwareManager(base.IronicAgentTest):
internal_info['disk_erasure_concurrency'] = 10
mocked_dispatch.return_value = 'erased device'

apply_result = multiprocessing.pool.ApplyResult({}, None, None)
apply_result = multiprocessing.pool.ApplyResult
apply_result._success = True
apply_result._ready = True
apply_result.get = lambda: 'erased device'


Loading…
Cancel
Save