← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1358904] Re: Warning for image_locations.id being empty while running tests

 

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

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1358904

Title:
  Warning for image_locations.id being empty while running tests

Status in Glance:
  Fix Released

Bug description:
  sqlalchemy/sql/default_comparator.py:35: SAWarning: The IN-predicate on "image_locations.id" was invoked with an empty sequence. This results in a contradiction, which nonetheless can be expensive to evaluate.  Consider alternative strategies for improved performance.
    return o[0](self, self.expr, op, *(other + o[1:]), **kwargs)

  warning is shown.

  Not sure if this is a bug, need some confirmation.

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


References