You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
stewmcl
changed the title
Test: set queue manager running when it is in present state failing
" Test the output for present when Queue Manager does exist " - Failing
Jun 8, 2023
This failing test is a sympton of a larger problem, that being the handling of the results in the queue manager module.
There's too much of a mix of using the results dictionary and manually setting the parameters for the module.exit_json function. As such, this issue should be solved in #44
TASK [set queue manager running when it is in present state] ***********************************
ok: [fyre]
TASK [dump test output] ************************************************************************
ok: [fyre] => {
"msg": {
"changed": false,
"failed": false,
"failed_when_result": false,
"msg": "IBM MQ queue manager 'qm1_present_start' started",
"output": "",
"rc": 0,
"state": ""
}
}
TASK [Test the output for present when Queue Manager does exist] *******************************
fatal: [fyre]: FAILED! => {
"assertion": "testout_2.state == 'running'",
"changed": false,
"evaluated_to": false,
"msg": "Assertion failed"
}
Appears to be that the state is not being correctly set
The text was updated successfully, but these errors were encountered: