The tests for LOG.deprecated were incorrect because they were
clearing the log buffers on every call.
When this is corrected, it shows that LOG.deprecated is not working
as expected since it logs multiple times when the test indicates
that it should only log once.
Reviewed: https:/ /review. openstack. org/67664 /git.openstack. org/cgit/ openstack/ oslo-incubator/ commit/ ?id=fdfbced7fe7 6920e112f572512 3b5b1db31903e0
Committed: https:/
Submitter: Jenkins
Branch: master
commit fdfbced7fe76920 e112f5725123b5b 1db31903e0
Author: Brant Knudson <email address hidden>
Date: Tue Jan 28 13:38:46 2014 -0600
Enhance tests for LOG.deprecated
The tests for LOG.deprecated were incorrect because they were
clearing the log buffers on every call.
When this is corrected, it shows that LOG.deprecated is not working
as expected since it logs multiple times when the test indicates
that it should only log once.
Change-Id: Ic0e4925c372e59 48c2140daa07ab3 362fb25a306
Partial-Bug: #1266812