Comment 9 for bug 1583630

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to heat (master)

Reviewed: https://review.openstack.org/329433
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=c85cae58bf2acfd32b6b745d7e218ba8fe05e604
Submitter: Jenkins
Branch: master

commit c85cae58bf2acfd32b6b745d7e218ba8fe05e604
Author: Zane Bitter <email address hidden>
Date: Tue Jun 14 15:09:19 2016 +0200

    Fix test_update_restricted timeouts due to timestamp resolution

    Updating a stack where the only resource needs replacement but is
    restricted from being replaced is *very* fast. Since the test framework
    relies on seeing a change in the updated_time timestamp, which has only 1s
    resolution, it can easily be missed causing the test to timeout. This adds
    a 1s sleep between updates that have the same expected status to ensure
    that the timestamp changes.

    Change-Id: Ief845a21108e925325b1b3e8f090038ccdf73b8e
    Closes-Bug: #1554375
    Related-Bug: #1583630