When enabling testing, the gem runs this check on workflows:
|
w_id == workflow_id && disallowed_statuses.include?(execution.status) |
The problem is that disallowed_statuses (at
|
def disallowed_statuses_for(reuse_policy) |
) doesn't consider the valid
terminate_if_running reuse policy, thus crashing at
disallowed_statuses.include?(execution.status) due to it returning
nil.