Comment 4 for bug 1626075

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

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

commit 65e7e594c86824e5bfd888665892294a33330a0b
Author: Thomas Herve <email address hidden>
Date: Wed Sep 21 14:47:36 2016 +0200

    Set hooks before storing events

    There is a race condition where setting a hook, where we store the event
    before and only then set the hook. If somehow if a test is fast enough
    to retrieve the events and signal before the hook is actually set, it
    will fail. It makes more sense to set the hook first.

    Change-Id: I8f3c33da37419d2d9ead27aaf43949e876236bc5
    Closes-Bug: #1626075