commit 1586f70052ec4519cdc765c3357673168ca89f2e
Author: Sławek Kapłoński <email address hidden>
Date: Sun Jan 29 09:44:03 2017 +0000
Display deprecation warning in test only once
WarningsFixture class was set to display deprecation
warnings "alway" - which means every occurence of
a warning.
Since oslo.context 2.12.0 there was huge amount of such
warnings displayed. It causes functional tests fails due
to reach global timeout for tests.
Now deprecation warning should be disaplayed only on first
occurence of matching warning in test.
Change-Id: I91196a8457c25e6eb5561fb74fd5864de85a070a
Closes-Bug: 1660088
(cherry picked from commit afab7c67011fad40fec87749679137d31aa20540)
Reviewed: https:/ /review. openstack. org/428031 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=1586f70052e c4519cdc765c335 7673168ca89f2e
Committed: https:/
Submitter: Jenkins
Branch: stable/newton
commit 1586f70052ec451 9cdc765c3357673 168ca89f2e
Author: Sławek Kapłoński <email address hidden>
Date: Sun Jan 29 09:44:03 2017 +0000
Display deprecation warning in test only once
WarningsFixture class was set to display deprecation
warnings "alway" - which means every occurence of
a warning.
Since oslo.context 2.12.0 there was huge amount of such
warnings displayed. It causes functional tests fails due
to reach global timeout for tests.
Now deprecation warning should be disaplayed only on first
occurence of matching warning in test.
Change-Id: I91196a8457c25e 6eb5561fb74fd58 64de85a070a 0fec87749679137 d31aa20540)
Closes-Bug: 1660088
(cherry picked from commit afab7c67011fad4