Comment 3 for bug 1621634

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

Reviewed: https://review.openstack.org/367644
Committed: https://git.openstack.org/cgit/openstack/trove/commit/?id=3ae00fcf694eced693a94d0d8dea2c852880cc0e
Submitter: Jenkins
Branch: master

commit 3ae00fcf694eced693a94d0d8dea2c852880cc0e
Author: Peter Stachowski <email address hidden>
Date: Thu Sep 8 21:17:38 2016 +0000

    [fix gate] Cluster grow not showing locality

    The scenario tests for clusters are occasionally failing when doing a
    cluster-show after a cluster-grow. This seems to happen because the
    locality flag on the new instances takes a few seconds (sometimes) to
    populate. This results in a 'AssertionError: Cluster missing attribute
    locality.' error in the cluster grow test.

    The fix is to check all the instances for the server_group information
    instead of just the first instance.

    The cluster tests were also tweaked so they could be run separately.

    Change-Id: I4f369231a8f0bc8cad338e2eb1de9cd1ca0253f6
    Closes-Bug: #1621634