← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1133621] Re: Improve output of _compare_result in case of errors

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => grizzly-rc1

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1133621

Title:
  Improve output of _compare_result in case of errors

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  In case of errors, _compare_result throws an exception which will
  display the results of "expected" and "results".

  I think it would be easier to debug its output if:
  1) We specify where the output is coming from (template or response)
  2) Whether we are referring to a list or dictionary
  3) In case of key mismatch for a dictionary, only display those keys in the dictionary which differ from one another, not the entire list of keys. The longer the lists, the harder it becomes to figure out which items differ.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1133621/+subscriptions