Reviewed: https://review.openstack.org/458161 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=5f2b187ae449fe03a5eac3e3493a6b267d1ed95a Submitter: Jenkins Branch: master
commit 5f2b187ae449fe03a5eac3e3493a6b267d1ed95a Author: melanie witt <melwi...@gmail.com> Date: Wed Apr 19 16:29:05 2017 +0000 Mock timeout in test__get_node_console_with_reset_wait_timeout This test is failing intermittently because it's waiting for a real timeout from BackOffLoopingCall which does an exponential backoff each interval. Sometimes the test times out entirely and fails. This changes the test to mock BackOffLoopingCall and raise the timeout exception to simulate a timeout. The only thing not covered by this is calling of the _wait_state() function, but that is covered by other unit tests in the file. Closes-Bug: #1683953 Change-Id: Ie3ff6b0020dca8a5f5292b327aa2491920e338ef ** Changed in: nova Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1683953 Title: IronicDriverConsoleTestCase.test__get_node_console_with_reset_wait_timeout intermittently fails since 4/18 Status in OpenStack Compute (nova): Fix Released Bug description: Since this change adjusted the timeout value in the test from .1 to 1 second: https://review.openstack.org/#/c/457188/ This test is intermittently failing: http://logs.openstack.org/38/457338/2/check/gate-nova- python35/21ee8c6/console.html#_2017-04-18_19_18_28_126076 Because it's not timing out as expected, which actually makes the test itself timeout after 160 seconds: nova.tests.unit.virt.ironic.test_driver.IronicDriverConsoleTestCase.test__get_node_console_with_reset_wait_timeout 160.006 To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1683953/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp