Reviewed: https://review.openstack.org/504930 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=0262e4146d63a0d7b3fbb1942a57a7a136820aec Submitter: Jenkins Branch: master
commit 0262e4146d63a0d7b3fbb1942a57a7a136820aec Author: Balazs Gibizer <[email protected]> Date: Mon Sep 18 14:33:13 2017 +0200 stabilize test_resize_server_error_and_reschedule_was_failed The test_resize_server_error_and_reschedule_was_failed notifiation sample test only waits for the instance to go to ERROR state and then asserts that two notifications are emitted. However the second notification, compute.exception, only emited after the instance is put into ERROR state. This makes the test unstable. This patch makes the test stable by waiting for the compute.exception notification to arrive before asserting the received notifications. Change-Id: Ia5311ffc12784987c138b127e43cfc52019cb3ea Closes-Bug: #1717917 ** 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/1717917 Title: test_resize_server_error_and_reschedule_was_failed failing due to missing notification Status in OpenStack Compute (nova): Fix Released Bug description: The test_resize_server_error_and_reschedule_was_failed case was failed in jenkins couple of times[1]. It seems that the test only wait for the instance to go to ERROR state but compute.exception notification emitted after that which make the test racy. [1] http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22testtools.matchers._impl.MismatchError%3A%202%20!%3D%201%3A%20Unexpected%20number%20of%20notifications%3A%5C%22 To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1717917/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

