Comment 2 for bug 1676646

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

Reviewed: https://review.openstack.org/486870
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=438b3e8fc2af1882d1df21eaf94331c2b0836490
Submitter: Jenkins
Branch: master

commit 438b3e8fc2af1882d1df21eaf94331c2b0836490
Author: Kendall Nelson <email address hidden>
Date: Mon Jul 24 22:15:01 2017 -0700

    Mock execute in unit test

    This patch fixes the test_volume_create_after_thin_creation test
    to mock execute instead of defining an execute method inside
    the test. Since the unit test is run twice with different options,
    the unit test asserts different things depending on the configuration
    of how the test is being run.

    Change-Id: Ia841ca55b36aa19d4d6b174239f4d4200793d4e5
    Closes-bug: 1676646