Comment 3 for bug 1244418

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

Reviewed: https://review.openstack.org/53743
Committed: http://github.com/openstack/cinder/commit/da033f19bcbd59545192a0a2a39a95662bab216a
Submitter: Jenkins
Branch: stable/havana

commit da033f19bcbd59545192a0a2a39a95662bab216a
Author: Michael Kerrin <email address hidden>
Date: Thu Oct 24 15:17:47 2013 +0000

    Unit test fails in pbuilder environment

    When running tests inside a pbuilder environment we don't
    have /dev/disk/by-path directory and so the test_host_driver
    test fails. Fix test by overriding the isdir method to
    return True and pretend that the directory is there.

    Closes-bug: #1244418

    Change-Id: Ifd39d796b7f250b1ec45227a4262ebb33d5656bf
    (cherry picked from commit ea51db596906c663e0c04b546b3ca79873dd74f0)