By default, wait_until_true uses default exception from eventlet which
is eventlet.TimeoutError. This class is not subclass of Exception but
BaseException. In case wait_until_true times out in any test, the whole
test executor worker is stopped leaving scheduled tests not executed.
This patch replaces eventlet.TimeoutError with new WaitTimeout
exception, that inherits from Exception and thus won't break execution
of other test cases in case it's raised.
Reviewed: https:/ /review. openstack. org/373973 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=42cc227798d 912cd1edd254f3e a228bab3225b24
Committed: https:/
Submitter: Jenkins
Branch: master
commit 42cc227798d912c d1edd254f3ea228 bab3225b24
Author: Jakub Libosvar <email address hidden>
Date: Wed Sep 21 05:31:31 2016 -0400
Change default exception in wait_until_true
By default, wait_until_true uses default exception from eventlet which TimeoutError. This class is not subclass of Exception but TimeoutError with new WaitTimeout
is eventlet.
BaseException. In case wait_until_true times out in any test, the whole
test executor worker is stopped leaving scheduled tests not executed.
This patch replaces eventlet.
exception, that inherits from Exception and thus won't break execution
of other test cases in case it's raised.
Related-Bug: 1625221 d84963e6e59393b 90fbaa8f058
Change-Id: I44c0c22f427f61