wrong argument value for work_on_disk() in unit test
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Fix Released
|
Low
|
wei du |
Bug Description
Observed Version: master
The problem:
The work_on_disk() function is defined with 7 normal arguments and 2 optional arguments in [1]. The 'node_uuid' should be a string containing uuid for the node, mainly for logging purposes.
However, there are several places in the unit test where the 7th argument to work_in_disk() is False. For example, WorkOnDiskTestC
The 'False' should be for 'preserve_
Functions test_no_
The proposed fix:
- to provide a fake string as the node_uuid for work_in_disk() function. For example,
Changed in ironic: | |
assignee: | nobody → wei du (weidu) |
Changed in ironic: | |
status: | New → Triaged |
importance: | Undecided → Low |
description: | updated |
Changed in ironic: | |
status: | Triaged → In Progress |
Changed in ironic: | |
milestone: | none → kilo-3 |
status: | Fix Committed → Fix Released |
Changed in ironic: | |
milestone: | kilo-3 → 2015.1.0 |
Fix proposed to branch: master /review. openstack. org/153072
Review: https:/