Comment 4 for bug 1759951

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-glanceclient (stable/queens)

Reviewed: https://review.openstack.org/559355
Committed: https://git.openstack.org/cgit/openstack/python-glanceclient/commit/?id=22568b0c131e41d57b9c24631925517c933307bc
Submitter: Zuul
Branch: stable/queens

commit 22568b0c131e41d57b9c24631925517c933307bc
Author: Brian Rosmaita <email address hidden>
Date: Thu Mar 29 17:21:59 2018 -0400

    Fix intermittent v2 shell unit test failures

    The do_image_download code has a check to make sure that there's
    a place to put the data (either filename or stdout redirect) before
    initiating the download. The location of this check was moved by
    change I841bebeda38814235079429eca0b1e5fd2f04dae to happen at the
    beginning of the function. The two intermittently failing tests
    do not explicitly address the check condition, and as a result the
    tests do exit early, but before they can check what they're supposed
    to be testing.

    Closes-bug: #1759951

    Change-Id: I3c85bb358f669504b364d55618c21382b7a2a66b
    (cherry picked from commit dc3ee4aedbd9023bba1581a987b517f00b9bfd0e)