A test was failing because the check for pool orphans was doing a
LOG.exception when there was no exception ever thrown during a unit
test, so the LOG.exception call was failing. It doesn't make sense
for this piece of code to LOG.exception because there is no
exception being thrown, its throwing its own exception.
Reviewed: https:/ /review. openstack. org/313787 /git.openstack. org/cgit/ openstack/ neutron- lbaas/commit/ ?id=75293386e6e 9c6cb041774aa4f 1325daae5b2959
Committed: https:/
Submitter: Jenkins
Branch: master
commit 75293386e6e9c6c b041774aa4f1325 daae5b2959
Author: Brandon Logan <email address hidden>
Date: Fri May 6 17:51:00 2016 -0500
LBaaS V1 Log error instead of exception
A test was failing because the check for pool orphans was doing a
LOG.exception when there was no exception ever thrown during a unit
test, so the LOG.exception call was failing. It doesn't make sense
for this piece of code to LOG.exception because there is no
exception being thrown, its throwing its own exception.
Change-Id: I21c12b639d0507 6f6c89e5c023a60 526e81db5b7
Closes-Bug: #1578771